I want to add a number only input field along with a maximum length restriction (Prevent user from entering more than the length set, not just throw an error). However, the pattern validation with regex ^[0-9]{1,4}$ is ignored when the input type is set to number
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Pattern Validation fails on Number input but works on Text Input? | 5 | 1620 | February 19, 2020 | |
| Input Number Minimum Value as Decimal - Error | 1 | 559 | August 26, 2018 | |
| [BUG (?)] numeric input element | 4 | 160 | November 3, 2019 | |
| set input to accept only numbers characteres via code | 4 | 944 | December 17, 2019 | |
| Text only element allows number input too | 3 | 398 | June 26, 2019 |