LP1888723 combobox down arrow same as click
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jul 2020 21:39:00 +0000 (17:39 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Fri, 5 Mar 2021 04:01:36 +0000 (20:01 -0800)
<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: Jane Sandberg <sandbej@linnbenton.edu>
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"/>