Open File Picker
This node opens the system file dialog.
The Open File Picker node allows users to select files from their device for upload.
The Open File Picker node triggers the native file selection dialog. It returns a File object (or array of files) that can be uploaded using the Upload File node or displayed (if an image).
Configuration
| Data | Description |
|---|
| Accept | File types to accept (e.g., "image/*", ".pdf,.doc"). |
| Multiple | Boolean. Allow selecting multiple files. |
Actions
| Signal | Description |
|---|
| Open | Opens the dialog. |
Outputs
Data
| Data | Description |
|---|
| Files | An array of File objects selected by the user. |
Events
| Signal | Description |
|---|
| Selected | Triggered when the user confirms selection. |
| Canceled | Triggered if the user closes the dialog without selecting. |
Usage
- Button Click -> Open File Picker (Open).
- Selected -> Upload File (Do).
- Connect Files to Upload File input.
Detailed Behavior
- Security: Must be triggered by a user action (like a click) in most browsers.
Troubleshooting
- No Popup: Ensure the Open signal is directly downstream of a user interaction event.