Sometimes it is necessary to validate the input for the TextInput using the pattern or attributes for type=number such as step, min, max
Solution Proposal
There are two options:
Add a limited number of attributes to TextInput, such as pattern, step, min, and max
Add extra properties to Text Input.
Definition of done
In TextInput, you can use browser-side validation/parsing
As example:
<TextInput type="number" pattern="\d{4,4}" step="" step="2" min="0" max="9999" />
Objective
Sometimes it is necessary to validate the input for the TextInput using the pattern or attributes for type=number such as step, min, max
Solution Proposal
There are two options:
Definition of done
In TextInput, you can use browser-side validation/parsing As example:
<TextInput type="number" pattern="\d{4,4}" step="" step="2" min="0" max="9999" />