helloflask / helloflask/flask-dropzone

Flask Dropzone Custom Options Seems To Override Everything

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
246
Forks
66
PR merge metrics
No merged PRs in 30d

Description

I do not know whether or not this a feature or a bug, but when I include the custom_options value in dropzone.config, like
```
{{ dropzone.config(custom_options='chunking: true,
forceChunking: true, chunkSize: 1000000,',
upload_action=url_for('upload.upload')) }}
```
Nothing works. No click to upload, no default text no nothing, even when I have this
```
dropzone.init_app(app)

app.config.update(
DROPZONE_ALLOWED_FILE_TYPE='default',
DROPZONE_IN_FORM=True,
DROPZONE_UPLOAD_ON_CLICK=True,
)
```
in the right place. I'm assuming that custom options overrides everything. How do I make it only affect the options that it is directly setting?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.