<Input id="assets" name="assets" type="file" multiple />
Generated html input parameter don't have this multiple parameter, so in Select file dialog only one file can be selected
Generated HTML:
<input aria-invalid="false" class="MuiInputBase-input-452 MuiInput-input-437 MuiInputBase-inputType-455 MuiInput-inputType-440" id="assets" name="assets" required="" type="file" value="">
There is not multiple attribute so only one file can be selected
@stolex Following the documentation, there is a property for all the non-frequent attributes.
<Input id="assets" name="assets" type="file" inputProps={{ multiple: true }} />
@oliviertassinari Can you please link the documentation you are referring to or some documentation about the specifics of the inputProps?
Or perhaps you may be able to simply help me. I would like to limit the number of files the user can upload to three at a time. Is this possible?
Most helpful comment
@stolex Following the documentation, there is a property for all the non-frequent attributes.