Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

validators.pattern angular number

<input matInput (input)="validateInput(field)" [placeholder]="field.label" type="number" [formControlName]="field.id" [id]="field.id">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #number
ADD COMMENT
Topic
Name
1+7 =