From: Mike Risher Date: Wed, 20 May 2020 23:27:20 +0000 (+0000) Subject: LP#1819233 improve AngularJS eg-basic-combo-box filtering X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=137f42f13f6dd0aa6813a077d81bd975529d6047;p=Evergreen.git 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 Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/services/ui.js b/Open-ILS/web/js/ui/default/staff/services/ui.js index f8f7cd16a3..52a1f69241 100644 --- a/Open-ILS/web/js/ui/default/staff/services/ui.js +++ b/Open-ILS/web/js/ui/default/staff/services/ui.js @@ -937,7 +937,7 @@ function($uibModal , $interpolate , egCore) { }, template: '
'+ - ''+ + ''+ '
'+ ''+ '