-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(COMPONENT): TimePicker does not show mat-error #30180
Comments
It looks like you're using both |
Yeah, I've removed ngModel, but it still does not work. |
What validators do you have set up? |
This here. It definitley does return the right value. Even if I remove the if, the mat-error does not show up.
|
It's a bit hard to say what might be going on here. We have similar examples in our docs that work fine. Can you post a Stackblitz showing the issue? |
Apologies if this StackBlitz doesn't capture the original post issue. Using Angular 19.0.0 and Material 19.0.5, the basic form input field does not show the specified error (hints show). Could I be missing something in the setup? |
The |
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using Angular 19 with Material 19
When trying to display a mat-error - even without form validation - it does not show.
When replacing the mat-error with mat-hint it does show correctly.
If i add mat-hint before adding mat-error, both messages show correctly.
Here is my example code:
Reproduction
Stacklitz has some issues with angular material 19 - at least i am unable to do that
Expected Behavior
Show the error-message under the timepicker
Actual Behavior
Does only show if switched to mat-hint
Environment
The text was updated successfully, but these errors were encountered: