I have a form group:
this.form = this.fb.group({
name: [null, Validators.required],
email: [null, Validators.required],
...
})
How can I extract all the form errors and not one by one with control.error
?
I have a form group:
this.form = this.fb.group({
name: [null, Validators.required],
email: [null, Validators.required],
...
})
How can I extract all the form errors and not one by one with control.error
?