-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material-experimental/mdc-form-field): ensure validity styling is…
… not reset by foundation (#18266) Currently, whenever the abstract form-field control turns invalid, the text-field foundation does not know about the validity change. Since it refreshes the validity upon focus/blur, it could end up accidentally removing the invalid class. We fix this, by ensuring that the foundation shares the validity state with the one from the form-field control.
- Loading branch information
1 parent
e37b5e5
commit f43e3e8
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters