-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: forms
Description
What problem are you trying to solve?
For <input>s with multiple, it would be nice to apply a limit on the number of items.
What solutions exist today?
The maxlength attribute, but this only restricts the total number of characters. However, for email addresses, the more important aspect is how many.
How would you solve it?
<input maxcount="5">. The wording aligns nicely with existing maxlength.
Anything else?
There is a related issue for <input type="file">, but it focuses more on the number of bytes: #4923
nektro
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: forms