File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ export const MAT_FORM_FIELD_DEFAULT_OPTIONS =
127
127
'[class.mat-form-field-disabled]' : '_control.disabled' ,
128
128
'[class.mat-form-field-autofilled]' : '_control.autofilled' ,
129
129
'[class.mat-focused]' : '_control.focused' ,
130
- '[class.mat-accent]' : 'color == "accent"' ,
131
- '[class.mat-warn]' : 'color == "warn"' ,
132
130
'[class.ng-untouched]' : '_shouldForward("untouched")' ,
133
131
'[class.ng-touched]' : '_shouldForward("touched")' ,
134
132
'[class.ng-pristine]' : '_shouldForward("pristine")' ,
@@ -303,7 +301,7 @@ export class MatFormField extends _MatFormFieldMixinBase
303
301
}
304
302
305
303
// Subscribe to changes in the child control state in order to update the form field UI.
306
- control . stateChanges . pipe ( startWith ( null ! ) ) . subscribe ( ( ) => {
304
+ control . stateChanges . pipe ( startWith ( null ) ) . subscribe ( ( ) => {
307
305
this . _validatePlaceholders ( ) ;
308
306
this . _syncDescribedByIds ( ) ;
309
307
this . _changeDetectorRef . markForCheck ( ) ;
You can’t perform that action at this time.
0 commit comments