how to block textbox max length angular code example
Example: angular maxlength directive input type number
//maxlength="10"
<input type="number" onKeyPress="if(this.value.length==10) return false;" />
//maxlength="10"
<input type="number" onKeyPress="if(this.value.length==10) return false;" />