File Upload (ALPHA)
Responsive Widgets are in alpha and available by invitation only on Business and Enterprise plans. Behavior and properties may change. To request access, open a support ticket and name the feature Responsive Widgets (ALPHA).
The File Upload widget lets users pick files from their device. It shows as a button or as a drag-and-drop zone. The selected files are in the files reference property, so you can send them to an API or storage service from a query.
Widget type: WDS_FILE_UPLOAD_WIDGET

Content properties
These properties appear in the Content tab of the property pane.
Data
Allowed file types array
Limits the types of files users can pick. This check and Max file size run in the browser only, and users can get around them. Check file type and size again in your query or backend. You can pick more than one type. Options:
- Any File:
* - Images:
image/* - Videos:
video/* - Audio:
audio/* - Text:
text/* - MS Word:
.doc - JPEG:
image/jpeg - PNG:
.png
Default: [].
Example:
{{["image/*", ".png"]}}