Use a file upload component to get one or more files from the user.
mode='file' to show a file upload box.
For file uploads to work correctly, you must define a file upload handler in your Django, Flask, Starlette, or Tornado application.
The file upload box sends a
POST request to the upload location (
/upload by default). The uploaded files are each named
file. The handler is expected to process the files and return a JSON response containing a string array named
files. This array is returned as-is by
view() to your Nitro application code.
Allow multiple files¶
mode to allow uploading multiple files.
Set upload location¶
link= to set the location to upload files to.
This is necessary if your app's file upload handler location is different from
/upload (the default),
disabled=True to disable.