-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/input): show required asterisk when using required validator #23362
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
Conversation
…ator Resolves the long-standing issue where the required asterisk wasn't being shown in the form field label when using the `required` validator from Forms. Fixes angular#2574.
b7c69a8
to
4b588d1
Compare
…ator Similar to angular#23362. Fixes that the required asterisk wasn't being shown when a chip list is required.
…ator Similar to angular#23362. Fixes that the required asterisk wasn't being shown when a chip list is required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
…dator Similar to angular#23362. Fixes that the required asterisk wasn't being shown when a select is required.
…dator Similar to angular#23362. Fixes that the required asterisk wasn't being shown when a select is required.
This is a breaking change incompatible with the material spec. No asterisk probably should have been the default https://material.io/components/text-fields#:~:text=Required%20text%20indicator |
This change is primarily for consistency. Before it, you'd get the asterisk with |
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. |
Resolves the long-standing issue where the required asterisk wasn't being shown in the form field label when using the
required
validator from Forms.Note: these changes target v13, because the
hasValidator
API was introduced in 12.2.0.Fixes #2574.