diff --git a/grails-app/assets/javascripts/knockout-dates.js b/grails-app/assets/javascripts/knockout-dates.js index 1a6cae9..e990240 100644 --- a/grails-app/assets/javascripts/knockout-dates.js +++ b/grails-app/assets/javascripts/knockout-dates.js @@ -61,6 +61,9 @@ if (!isNaN(widget.date)) { widget.setDate(widget.date); } + else { + widget.setDate(null); + } } } };