dropzone
Last updated
Last updated
dropzone
Allows you to easily add a drag and drop file upload component to any form. Files are posted to any upload service such as file.io and uploadcare. The data model is passed back all relevant meta information.
The default configuration uses file.io
as ephemeral storage. Using additional options you can adjust the length of time a file lives for (default is 2 weeks). Typically upon form submission, your FileMaker hook script would insert the data from the storage location into a container etc in your database.
Files can be uploaded to an AWS S3 bucket. You will need to first provision the bucket. See the following page for complete setup instructions
type
dropzone
string
model
Array
Array of uploaded file metadata. Does not have to be predefined.
useCustomSlot
()
boolean
If true, then the HTML in the html
key will be inserted into the target drop area, defaults false
includeB64
boolean
If true, base64 encoded data is returned in the response, defaults false.
options
object
Object of additional options. These will override defaults. and are passed directly into dropzone.js
You can totally customize the dropzone component and control things like file size limits and number of files uploaded.
vue-dropzone options http://www.dropzonejs.com/#configuration