-
Notifications
You must be signed in to change notification settings - Fork 6.8k
mat-error does not display properly using custom cross validation #12796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In my case. 'min', 'max' are not work, some answers said " using some answers said " anyway I thought, So I decide using the
|
@worthy7 Since you set the error on the group, both form fields are displayed with no error. |
@manklu I see what you mean but I just moved it and the same thing happens. |
@manklu Actually I'm not sure what you mean. Can you show me a version that works? |
I don't fully understand but that works so it's not a bug |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Show form validation error text
What is the current behavior?
mat-error only shows if the Confirm Password field is kept empty.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-59b6pg
What is the use-case or motivation for changing an existing behavior?
It's broken.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 6.4.6
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: