Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/form-field): Ability to support custom error message co…
…mponents inside a form field (#25399) * feat(material/form-field): Ability to support custom error message components inside a form field Adds an ability to use custom error components tagged with [matError] attributes inside a form field. This is useful when a reusable custom error message template is needed for form fields. Example: <mat-form-field> <mat-label>Label</mat-label> <input matInput> <custom-error matError>Error message</custom-error> </mat-form-field> * feat(material/form-field): Ability to support custom error message components inside a form field Adds an ability to use custom error components tagged with [matError] attributes inside a form field. This is useful when a reusable custom error message template is needed for form fields. Example: <mat-form-field> <mat-label>Label</mat-label> <input matInput> <custom-error matError>Error message</custom-error> </mat-form-field> * feat(material/form-field): Ability to support custom error message components inside a form field Adds an ability to use custom error components tagged with [matError] attributes inside a form field. This is useful when a reusable custom error message template is needed for form fields. Example: <mat-form-field> <mat-label>Label</mat-label> <input matInput> <custom-error matError>Error message</custom-error> </mat-form-field> Co-authored-by: kamarouski <kamarouski@google.com>
- Loading branch information
1 parent
d496ebe
commit 119dd4b
Showing
4 changed files
with
8 additions
and
6 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
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