Answers for "max length does't set on number input in angular"

0

angular maxlength directive input type number

//maxlength="10"
<input type="number" onKeyPress="if(this.value.length==10) return false;" />
Posted by: Guest on August-13-2020
2

validation maxlength angular

Validators.maxLength(11)
Posted by: Guest on July-23-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language