Skip to content

Commit 527f1b5

Browse files
authored
fix(form-field): deprecate legacy and standard appearances (#17961)
BREAKING CHANGES: - The `legacy` and `standard` appearance options for `MatFormField` are now deprecated
1 parent 11116d5 commit 527f1b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/material/form-field/form-field.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ class MatFormFieldBase {
7575
const _MatFormFieldMixinBase: CanColorCtor & typeof MatFormFieldBase =
7676
mixinColor(MatFormFieldBase, 'primary');
7777

78-
/** Possible appearance styles for the form field. */
78+
/**
79+
* Possible appearance styles for the form field.
80+
*
81+
* Note: The `legacy` and `standard` appearances are deprecated. Please use `fill` or `outline`.
82+
* @breaking-change 11.0.0 Remove `legacy` and `standard`.
83+
*/
7984
export type MatFormFieldAppearance = 'legacy' | 'standard' | 'fill' | 'outline';
8085

8186
/**

0 commit comments

Comments
 (0)