Answers for "mat input formatter tel"

2

mat input formatter tel

ngOnInit() {

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

    this.emailForm = new FormGroup({
      PhoneNumber:new FormControl('',[Validators.pattern(MOBILE_PATTERN)])
    });
}
Posted by: Guest on July-21-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language