Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
As the doc:
id: string | ID for the dialog. If omitted, a unique one will be generated.
What is the current behavior?
the generated dialog has no ID attribute:
<mat-dialog-container class="mat-dialog-container ng-tns-c1-0 ng-trigger ng-trigger-slideDialog ng-star-inserted" tabindex="-1" role="dialog" style="transform: none; opacity: 1;">...</mat-dialog-container>
What are the steps to reproduce?
const dialogRef = this.dialog.open(PopupFormComponent, {
id: 'dlg000',
height: 200,
width: 300
});
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.2.0, Material 5.1.0
Metadata
Metadata
Assignees
Labels
No labels