Angular Maxlength Inrective Input Jenis Nomor

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