Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use autoDiscover with Angular 5 ? #129

Open
sujeetjaiswara opened this issue Mar 5, 2019 · 1 comment
Open

How to use autoDiscover with Angular 5 ? #129

sujeetjaiswara opened this issue Mar 5, 2019 · 1 comment
Labels

Comments

@sujeetjaiswara
Copy link

// Disabling autoDiscover, otherwise Dropzone will try to attach twice.
Dropzone.autoDiscover = false;

@sconix
Copy link
Contributor

sconix commented Mar 5, 2019

That option does not make sense when using in Angular. So its disabled since in Angular the DOM is not ready when the Dropzone library is loaded. So that feature is really only meant for native JS not for Angular.

@sconix sconix added the question label Mar 5, 2019
@sujeetjaiswara sujeetjaiswara changed the title How to use autoDiscover ? How to use autoDiscover with Angular 5 ? Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants