Angular MaxLength -Anweisung Eingangstyp Nummer

//maxlength="10"
<input type="number" onKeyPress="if(this.value.length==10) return false;" />
Repulsive Rattlesnake