Open rajurajpurohit opened 5 years ago
Sorry I am not that familiar with the Dropzone and this is more of an question about how Dropzone works.
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.
It still sounds like an issue with Dropzone and not with this library.
@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.
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?