autofocus 'OK' on project dialogs
This commit is contained in:
parent
98dc105f46
commit
69d5d244cb
@ -42,6 +42,7 @@ export class ProjectionDialogService {
|
||||
ProjectionDialogReturnType
|
||||
>(ProjectionDialogComponent, {
|
||||
maxHeight: '90vh',
|
||||
autoFocus: false,
|
||||
data: descriptor
|
||||
});
|
||||
const response = await dialogRef.afterClosed().toPromise();
|
||||
|
@ -38,6 +38,6 @@
|
||||
</div>
|
||||
</mat-dialog-content>
|
||||
<mat-dialog-actions>
|
||||
<button mat-button (click)="onOk()" color="primary" translate>OK</button>
|
||||
<button mat-button osAutofocus (click)="onOk()" color="primary" translate>OK</button>
|
||||
<button mat-button (click)="onCancel()" translate>Cancel</button>
|
||||
</mat-dialog-actions>
|
||||
|
Loading…
Reference in New Issue
Block a user