We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No response
MAT_FORM_FIELD_DEFAULT_OPTIONS do not apply to form-field inside material dialog component.
MAT_FORM_FIELD_DEFAULT_OPTIONS
in root app.component.ts:
@Component({ ... providers: [ { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'outline' } } ] }) export class AppComponent { ... }
in dialog.component.html:
<h2 mat-dialog-title i18n>My title</h2> <mat-dialog-content> <mat-form-field> <mat-label>Some field</mat-label> <input matInput type="text"> </mat-form-field> </mat-dialog-content>
dialog.component is opened using this.dialog.open(DialogComponent)
this.dialog.open(DialogComponent)
Outline appearance
Fill appearance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this a regression?
The previous version in which this bug was not present was
No response
Description
MAT_FORM_FIELD_DEFAULT_OPTIONS
do not apply to form-field inside material dialog component.Reproduction
in root app.component.ts:
in dialog.component.html:
dialog.component is opened using
this.dialog.open(DialogComponent)
Expected Behavior
Outline appearance
Actual Behavior
Fill appearance
Environment
The text was updated successfully, but these errors were encountered: