Skip to content

Commit 358ac17

Browse files
committed
fix(material-experimental/mdc-form-field): add ngAcceptInputType
1 parent 48ff297 commit 358ac17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import {MatFormFieldNotchedOutline} from './directives/notched-outline';
5353
import {MAT_PREFIX, MatPrefix} from './directives/prefix';
5454
import {MAT_SUFFIX, MatSuffix} from './directives/suffix';
5555
import {DOCUMENT} from '@angular/common';
56-
import {coerceBooleanProperty} from '@angular/cdk/coercion';
56+
import {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';
5757

5858
/** Type for the available floatLabel values. */
5959
export type FloatLabelType = 'always' | 'auto';
@@ -723,4 +723,6 @@ export class MatFormField implements AfterViewInit, OnDestroy, AfterContentCheck
723723
// shadow DOM, however browser that support shadow DOM should support `getRootNode` as well.
724724
return document.documentElement!.contains(element);
725725
}
726+
727+
static ngAcceptInputType_hideRequiredMarker: BooleanInput;
726728
}

0 commit comments

Comments
 (0)