Error from form group not visible
ZeSzymi opened this issue · comments
Szymon commented
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x] Support request
[ ] Other... Please describe:
Current behavior
I have form that looks like this:
form = new FormGroup(
{
newPassword: new FormControl('', Validators.required),
confirmPassword: new FormControl('', Validators.required)
},
{
validators: passwordMatchValidator
}
);
and all i see are errros Validators.required but not custom validator for form group
Expected behavior
I want to see all errors. Errors from form controls under inputs and error from form above submit button
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
So basically in my production app i can see the form error don't know why here it's not visible, but the problem is i have no idea how to put the errors from form group above the submit button in the form element
Netanel Basal commented
You'll see only one error.