Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

mat input formatter tel

ngOnInit() {

    let MOBILE_PATTERN = /[0-9+- ]/;

    this.emailForm = new FormGroup({
      PhoneNumber:new FormControl('',[Validators.pattern(MOBILE_PATTERN)])
    });
}
Comment

PREVIOUS NEXT
Code Example
Typescript :: angular innerhtml style 
Typescript :: styled-components error in typescript 
Typescript :: deno current directory 
Typescript :: warning: failed prop type: the prop `history` is marked as required in `router`, but its value is `undefined`. 
Typescript :: useState ts 
Typescript :: distance using the constant velocity formula 
Typescript :: nestjs get request header in guard 
Typescript :: typescript webpack node 
Typescript :: react-native-typescript 
Typescript :: moment datepicker 
Typescript :: failed to enumerate objects in the container access is denied windows 10 
Typescript :: adding two lists using lambda function 
Typescript :: locking value of cell 
Typescript :: bash all arguments except last 
Typescript :: how can i add multiple arguments in discord,js 
Typescript :: what are the common mistakes in testing 
Typescript :: typescript loop through dictionary 
Typescript :: how push objects into a local stotage array 
Typescript :: typescript filter list of objects based on latest date 
Typescript :: typescript treat all errors as warnings 
Typescript :: typescript one of the array items 
Typescript :: npm typescript package 
Typescript :: selenium multiple elements with same class name python 
Typescript :: adoni migrate 
Typescript :: how to Write a program that accepts three decimal numbers as input and outputs their sum on python 
Typescript :: how to check if a value exists in unorderedmaps 
Typescript :: where to create assets folder in flutter 
Typescript :: angular loadchildren lazy loading 
Typescript :: typescript default value if null 
Typescript :: dart create list from object properties 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =