Merge pull request #4337 from MaximilianKrambach/autofocusproject
autofocus 'OK' on 'project' dialogs
This commit is contained in:
commit
24d239acd9
@ -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