diff --git a/grails-app/assets/javascripts/forms-knockout-bindings.js b/grails-app/assets/javascripts/forms-knockout-bindings.js index 025e97e..4df9644 100644 --- a/grails-app/assets/javascripts/forms-knockout-bindings.js +++ b/grails-app/assets/javascripts/forms-knockout-bindings.js @@ -1051,9 +1051,12 @@ element.removeAttribute("disabled"); else if ((!value) && (!element.disabled)) { element.disabled = true; - var value = allBindings.get('value'); - if (ko.isObservable(value)) { - value(undefined); + var possibleValueBindings = ['value', 'datepicker']; + for (var i=0; i