From 926ef2d43c3341f809c300868896287a38eff403 Mon Sep 17 00:00:00 2001 From: chrisala Date: Tue, 21 May 2024 11:46:18 +1000 Subject: [PATCH] Increased scope of enableAndClear binding #250 --- grails-app/assets/javascripts/forms-knockout-bindings.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/grails-app/assets/javascripts/forms-knockout-bindings.js b/grails-app/assets/javascripts/forms-knockout-bindings.js index 027d107..1ad59b0 100644 --- a/grails-app/assets/javascripts/forms-knockout-bindings.js +++ b/grails-app/assets/javascripts/forms-knockout-bindings.js @@ -1051,11 +1051,16 @@ element.removeAttribute("disabled"); else if ((!value) && (!element.disabled)) { element.disabled = true; - var possibleValueBindings = ['value', 'datepicker']; + var possibleValueBindings = ['value', 'datepicker', 'selectedOptions', 'multiSelect2', 'speciesSelect']; for (var i=0; i