IssueRaiser

add attribute max-size to input type file

i'm not sure if this issue was already opened, I did a search before post it, but would be useful any way of add a attribute to limit the size of files being added to input file. like: ```html <input type="file" max-size="2000" multiple required> ``` max size is the size in kbytes. then after the user submit the form, html shows the validation message. it could even be improved adding too: `max-files` attribute, that would limit how many files the user can add to the field

Posted by leandroruel on Sep 19, 2019, 5:18 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

github (Other)

add attribute max-size to input type file

leandroruelSep 19, 2019, 5:18 PM

i'm not sure if this issue was already opened, I did a search before post it, but would be useful any way of add a attribute to limit the size of files being added to input file. like: ```html <input type="file" max-size="2000" multiple required> ``` max size is the size in kbytes. then after the user submit the form, html shows the validation message. it could even be improved adding too: `max-files` attribute, that would limit how many files the user can add to the field

Comments (0)

No comments yet. Start the discussion.

Comment on this issue