uppload icon indicating copy to clipboard operation
uppload copied to clipboard

Full description about file limitations

Open matiosfree opened this issue 5 years ago • 2 comments

Right now there is no way to see in the dropzone what exactly mimes and maxFileSize are allowed. It would be very helpful to see that before user selects some files. The message could be like: "Allowed file formats: jpg, png. Max file size: 2Mb"

matiosfree avatar Nov 01 '20 05:11 matiosfree

I would also like this feature. My workaround was to add it on the "open" event.

DocUppload.on('open', function(){ //include docTitle and helptext $(DocUppload.container).find(".uppload-service--local").prepend("<input type='text' placeholder='Enter Document Title' class='input' id='docTitle'>"); //add helptext $(DocUppload.container).find(".drop-area").append('<p>Allowed filetypes: pdf, doc, docx, jpeg, png<br>Maximum File Size: 5MB</p>'); });

Which produces this: Screenshot 2020-11-02 120003

wireland1992 avatar Nov 02 '20 18:11 wireland1992

Makes sense, great idea!

AnandChowdhary avatar Nov 02 '20 19:11 AnandChowdhary