diff --git a/tailbone/templates/themes/butterball/field-components.mako b/tailbone/templates/themes/butterball/field-components.mako index 1925e794..b8c3d1dc 100644 --- a/tailbone/templates/themes/butterball/field-components.mako +++ b/tailbone/templates/themes/butterball/field-components.mako @@ -321,7 +321,7 @@ template: '#tailbone-datepicker-template', props: { - modelValue: Date, + modelValue: [Date, String], disabled: Boolean, }, @@ -333,9 +333,7 @@ watch: { modelValue(to, from) { - if (this.orugaValue != to) { - this.orugaValue = to - } + this.orugaValue = this.parseDate(to) }, },