question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dropzone.config custom_options ignored

See original GitHub issue

If 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:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
greylicommented, Aug 18, 2018
0reactions
Permafacturecommented, Aug 19, 2018

Awesome! thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found