LP1888723 combobox down arrow same as click
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jul 2020 21:39:00 +0000 (17:39 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:54:36 +0000 (19:54 -0400)
<eg-combobox /> now treats down arrow as the same as a click operation,
allowing for activation of selectabled options dropdown via keyboard.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html

index 0e5253b..e3f7509 100644 (file)
@@ -25,6 +25,7 @@
     [inputFormatter]="formatDisplayString"
     (click)="onClick($event)"
     (blur)="onBlur()"
+    (keyup.arrowdown)="onClick($event)"
     container="body"
     (selectItem)="selectorChanged($event)"
     #instance="ngbTypeahead"/>