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

Not able to remove added file #137

Open
rajurajpurohit opened this issue Nov 26, 2019 · 4 comments
Open

Not able to remove added file #137

rajurajpurohit opened this issue Nov 26, 2019 · 4 comments
Labels

Comments

@rajurajpurohit
Copy link

I am using below configuration

public fileConfig = { url: AppSettings.API_ENDPOINT, acceptedFiles: 'application/pdf', autoProcessQueue: false, addRemoveLinks: true, parallelUploads: 1, maxFiles: 1 }

Its showing Remove File link, but it's not working. Also, I can add multiple files by clicking above delete link (But as configuration, its maxFiles = 1). Can you suggest me for this?

@sconix
Copy link
Contributor

sconix commented Dec 21, 2019

Sorry I am not that familiar with the Dropzone and this is more of an question about how Dropzone works.

@rajurajpurohit
Copy link
Author

rajurajpurohit commented Dec 22, 2019

There is an issue with the delete file link and maximum file selection. I am adding configuration for one file selection by setting maxFiles = 1, It not working. I am able to add a file by clicking at area of the dropzone.

@sconix
Copy link
Contributor

sconix commented Dec 23, 2019

It still sounds like an issue with Dropzone and not with this library.

@inspiring71
Copy link

@rajurajpurohit I guess you have to set maxFiles to zero if you want only one file to be uploaded. I guess it is pretty much late for you but writing the solution here for others who are seeking a solution here.

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

3 participants