Issue
I'm getting error of invalid pattern error image in address field as i haven't set any validation on that specific field.
Here is the declaration of formgroup.
this.formGroup = this.fb.group({
id: [''],
firstname: ['', Validators.compose([Validators.required])],
lastname: ['', Validators.compose([Validators.required])],
contactNo: [''],
email: [''],
address: [''],
})
I'm attaching the error picture.
Thank you in advance.
Solution
Looks like you are using pattern directive in your HTML.
Answered By - Ruslan Lekhman
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.