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>
Mon, 14 Sep 2020 17:42:40 +0000 (13:42 -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 d228081..5f6de3e 100644 (file)
@@ -25,6 +25,7 @@
     [inputFormatter]="formatDisplayString"
     (click)="onClick($event)"
     (blur)="onBlur()"
+    (keyup.arrowdown)="onClick($event)"
     container="body"
     (selectItem)="selectorChanged($event)"
     #instance="ngbTypeahead"/>