Skip to main content

Upload File To FileManager

Reference Guide

This component is a button that allows the user to upload a file to a specific location in the Dais App's File Manager.

Properties

Label

The text to show inside the button.

FileManager reference

FileManager reference/path to upload the file to. This must start with uploads/

Show Toast

Whether to show a toast when the upload completes successfully

Restrict file extensions

File extensions to allow upload of. Comma-separated array. Eg: .jpg,.png,.gif. Leave blank to allow any file type.

Max File Size (MB)

Max file size to allow, in megabytes. This maxes out at 100MB.