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