dropzone.config custom_options ignored
See original GitHub issueIf you change the config call in examples/click-upload/templates/index.html to:
dropzone.config(custom_options='maxFiles: 3')
the rendered javascript uses the DROPZONE_MAX_FILES value defined in the app.config rather than 3. If you remove the MAX_FILES from config, the rendered javascript still ignores the 3 and uses null instead.
Additionally, how would one pass through something like DROPZONE_UPLOAD_ON_CLICK non-globally, ie: not in app.config?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
dropzone.config custom_options ignored · Issue #16 - GitHub
dropzone.config custom_options ignored #16 ... This issue can be fixed by change the position of custom options, I'll make it work late this ......
Read more >Dropzone with custom options not working - Stack Overflow
My intention is to load a simple dropzone form where I can add files. If I put something in the HTML, the action...
Read more >Configuration Options - Dropzone
Whether hidden files in directories should be ignored. acceptedFiles.
Read more >wordpress/scripts | Block Editor Handbook
This script automatically use the optimized config but sometimes you may want to specify some custom options: --webpack-bundle-analyzer – enables ...
Read more >Configuration — Flask-Dropzone 1.5.1 documentation
Name, Default Value, Info. DROPZONE_SERVE_LOCAL, False, Default to retrieve dropzone.js from CDN. DROPZONE_MAX_FILE_SIZE, 3, Max allowed file size. unit: MB.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
custom_options
issue fixed in https://github.com/greyli/flask-dropzone/commit/50658f0262f689b98ad382da69365409ff74e0d1.Awesome! thanks!