Search code examples
jqueryasp.net-mvc-4blueimp

how to add multiple attribute to blueimp upload input field


We are using blueimp file uploader to upload files.

I am able to drag & drop multiple files and the uploader uploads all the files.

However I am not able to select multiple files on browse window. The reason is the input field rendered does not have multiple attribute.

<input class="form-control d2-ctl d2-upload-file-control" type="file">

I am wondering how to add it. Am I missing any settings, please advise?

Regards..


Solution

  • make your input field be

    <input type="file" name="files[]" multiple>