Skip to content

Commit 8f62ffe

Browse files
authored
fix(material/input): apply static class binding to host (#18196)
1 parent 3e2e023 commit 8f62ffe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/material/input/input.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ const _MatInputMixinBase: CanUpdateErrorStateCtor & typeof MatInputBase =
7171
/**
7272
* @breaking-change 8.0.0 remove .mat-form-field-autofill-control in favor of AutofillMonitor.
7373
*/
74-
'[class.mat-form-field-autofill-control]': 'true',
75-
'[class.mat-input-element]': 'true',
74+
'class': 'mat-input-element mat-form-field-autofill-control',
7675
'[class.mat-input-server]': '_isServer',
7776
// Native input properties that are overwritten by Angular inputs need to be synced with
7877
// the native input element. Otherwise property bindings for those don't work.

0 commit comments

Comments
 (0)