]> git.evergreen-ils.org Git - Evergreen.git/commit
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 15:02:12 +0000 (10:02 -0500)
commit6c0eef0d1e08bef864f8ffd2db14b81de942df0c
treefa3195f4bc7b1b0336ad7574728531e65d795df0
parent303c35e8eaae7a42d2228e23c2d6e0427adefa37
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