File Field
type: "file"
A field where users can upload files like images, videos and more.
Additional Fields
Field | Type | Description |
---|---|---|
defaultValue | ValueFile? | The optional default value |
multiple | boolean? | Allow multiple file upload |
accept | string? | The accept property on the file input |
Example
mobro-widget-config.json
{
"config": [
{
"name": "example",
"label": "Example",
"type": "file",
"multiple": true,
"accept": "image/*"
}
]
}