Is there a way to limit the number of files you can select using the input file plus the multiple attribute.
<input type="file" accept="image/*" multiple/>
I am aware of one approach that is to check the length of files after selection using the onChange
event. While this works I would like to prevent user from selecting more than 5 image files in the file select dialog phase.
Is this possible?