rowanwins / vue-dropzone

A Vue.js component for Dropzone.js - a drag’n’drop file uploads utility with image previews
https://rowanwins.github.io/vue-dropzone/docs/dist
MIT License
2.02k stars 1.4k forks source link

What is the corret syntax for dropzoneOptions? (upload options ignored) #500

Open jacqueslelezard opened 4 years ago

jacqueslelezard commented 4 years ago

I'm trying to send several options such as file size, max nb of files, etc but these options seems to be completly ignored. Here are the parameters I'm testing: dropzoneOptions: { acceptedFiles: ".jpg, .jpeg, .png", maxFilesize: 10000, maxFiles: 3, } <vue-dropzone :options="dropzoneOptions"></vue-dropzone>

rowanwins commented 4 years ago

That indeed seems correct and aligns with how we do it in all the demos.