I have the following HTML:
<input ng-model="idade" type="number" maxlength="3" placeholder="Informe a idade">
When I go to test, input
ignores maxlength
and lets me type as many characters as I want. Strangely, when I change the type to tel
it works.
Has anyone ever gone through this and managed to solve ???