-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(material): deprecate MAT_LABEL_GLOBAL_OPTIONS in favo… (#18017)
As of Angular Material version 9, the `MAT_LABEL_GLOBAL_OPTIONS` injection token is deprecated. The default floating label behavior should be set through the `MAT_FORM_FIELD_DEFAULT_OPTIONS` token. DEPRECATED: `MAT_LABEL_GLOBAL_OPTIONS` exported in `@angular/material/core` is deprecated. Use `MAT_FORM_FIELD_DEFAULT_OPTIONS` from `@angular/material/form-field`. Note that the property `float` is now matching the input name `floatLabel`. DEPRECATED: `FloatLabelType` exported in `@angular/material/core` is deprecated. Import the symbol from `@angular/material/from-field`.
- Loading branch information
1 parent
5fe233a
commit bfdf323
Showing
4 changed files
with
47 additions
and
7 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