File
Display type
- file
Config properties
| Name | Value | Description |
|---|---|---|
| accept | string. e.g: “image/jpeg,image/png” | Specifies file types to be supported for uploading |
| filePreview | boolean | Specifies whether to display or hide image in the device |
| multiple | boolean | Specifies whether to allow selection of multiple files at once |
| blob | boolean | Specifies whether to allow binary/base64 data of the file while performing upload |
Properties
| Name | Description |
|---|---|
| displayName | Label to display on the field |
Example schema
{ "fields": [{ "name": "upload-photos", "meta": { "config": { "accept": "image/jpeg,image/png", "filePreview": true, "multiple": true, "blob": true }, "displayType": "file", "displayName": "Upload photos" } }]}