Skip to content

Commit

Permalink
fix(material/input): apply static class binding to host (#18196)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Jan 16, 2020
1 parent 3e2e023 commit 8f62ffe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/material/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ const _MatInputMixinBase: CanUpdateErrorStateCtor & typeof MatInputBase =
/**
* @breaking-change 8.0.0 remove .mat-form-field-autofill-control in favor of AutofillMonitor.
*/
'[class.mat-form-field-autofill-control]': 'true',
'[class.mat-input-element]': 'true',
'class': 'mat-input-element mat-form-field-autofill-control',
'[class.mat-input-server]': '_isServer',
// Native input properties that are overwritten by Angular inputs need to be synced with
// the native input element. Otherwise property bindings for those don't work.
Expand Down

0 comments on commit 8f62ffe

Please sign in to comment.