[ACS-3770] Stop select event propagation to restore keyboard functionality (#7967)

This commit is contained in:
MichalKinas 2022-11-15 10:43:43 +01:00 committed by GitHub
parent 39e458abb0
commit 54c1dbeca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,9 @@ import { RoleModel } from '../../models/role.model';
(click)="$event.stopPropagation()" (click)="$event.stopPropagation()"
[placeholder]="placeholder | translate" [placeholder]="placeholder | translate"
[value]="value" [value]="value"
(selectionChange)="onRoleChanged($event.value)"> (selectionChange)="onRoleChanged($event.value)"
(keyup.arrowdown)="$event.stopPropagation()"
(keyup.arrowup)="$event.stopPropagation()">
<mat-option *ngFor="let role of roles" [value]="role.role"> <mat-option *ngFor="let role of roles" [value]="role.role">
{{ role.label | adfLocalizedRole }} {{ role.label | adfLocalizedRole }}
</mat-option> </mat-option>