0
Good morning guys, I’m new to Ionic, I did a search through the site but I couldn’t find an answer to my question. See if you can help me:
I want to delimit a number-only data entry.
The maxlength attribute does not work in number type only in tel type. However, in tel type it is possible to insert letters and special characters such as # and *.
Also, in the type number it is possible to insert point.
I would like only numbers, with maximum number of 5. Someone would know to help me?
You can make a Regex to limit that. https://answall.com/questions/25605/express%C3%A3o-regular-accept-only-n%C3%Bameros-e-ou-letras-em-java
– Lucas Brogni