Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

formgroup check if valid

form: FormGroup;

onSubmit(){
    //checks if form is valid
       if( this.form.valid){
          //more code here
        }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #formgroup #check #valid
ADD COMMENT
Topic
Name
1+4 =