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

Options Object - Not compatible with all valid URL and Method values #598

Open clandestine8 opened 3 years ago

clandestine8 commented 3 years ago

url and method in the options object do not support Functions as values, as it states it should in Dropzone.js's documentation.

Also URL is not a required value for Dropzone as it can be processed using a Function Method.

This also makes the documentation site inaccurate as it states... A dropzone configuration object, accepts all valid dropzone configuration which is currently not true.

clandestine8 commented 3 years ago

This can be resolve by updating to a new version of dropzone. It may be a good idea to have to user provide the dropzone package in the future so it can be updated independently if there are no breaking changes.