okno dialogowe MAT Wyłącz zamknięcie
this.dialog.open(DialogComponent, { disableClose: true });
RenyDev
this.dialog.open(DialogComponent, { disableClose: true });
@Component({/* ... */})
export class YourDialog {
constructor(public dialogRef: MatDialogRef<YourDialog>) { }
closeDialog() {
this.dialogRef.close('Pizza!');
}
}