Search code examples
javascriptjqueryfile-uploadblueimp

blueimp multiple file uploader


I'm using the blueimp multiple file uploader and everything is working great. However in some cases i have to use a single file upload. Is there a option of some sort that i can trigger to disable the multifile part of the plugin?

It is important that the flow doesnt change. So that i can keep using it but just easily can disable multiple files.

I do want to mention that i dont want to give an error if the maxx file number is exceeded. I just want to disable multiple files all together.

Any help would be greatly appreciated.


Solution

  • That’s easy, just remove the multiple attribute on the input element.