LP1888723 combobox down arrow same as click
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jul 2020 21:39:00 +0000 (17:39 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 14 Aug 2020 16:36:04 +0000 (12:36 -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>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html

index 83df22e..1d35b48 100644 (file)
@@ -18,6 +18,7 @@
     [inputFormatter]="formatDisplayString"
     (click)="onClick($event)"
     (blur)="onBlur()"
+    (keyup.arrowdown)="onClick($event)"
     container="body"
     (selectItem)="selectorChanged($event)"
     #instance="ngbTypeahead"/>