LP#1819233 improve AngularJS eg-basic-combo-box filtering
authorMike Risher <mrisher@catalyte.io>
Wed, 20 May 2020 23:27:20 +0000 (23:27 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 11 Nov 2021 14:58:42 +0000 (09:58 -0500)
commit90e34e77b780424750404fabf13ec069498dd4fb
tree1c75b92e0397fa02bcf2de111a17fd4225dd6101
parent96866a62d9cf555336b8622983173d94e069a452
LP#1819233 improve AngularJS eg-basic-combo-box filtering

Adjust the eg-basic-combo-box so that it doesn’t give console errors
when typing characters such as [. Fix the bug that causes it to
sometimes show no results when there are valid results that match.

To test
-------
[1] Apply the patch, then create a new report template, add a
    display field, then open the Change Transform modal.
[2] Verify that the selection box will accept characters like '['
    as input without browser console noise, that the filtering
    is case-insensitive, and that filtering continues to work
    after clicking on the selector.
[3] Instances of this combo box can also be found in the AngularJS
    volume/copy editor.

Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/services/ui.js