Verified Commit ddd0e6d1 authored by les's avatar les
Browse files

fix validation on unselect date

parent 3bb73cd7
......@@ -222,6 +222,10 @@ export default {
this.$emit('input', { ...this.value, dueHour: false })
}
} else if (what === 'date') {
if (value === null) {
this.$emit('input', { ...this.value, from: null, fromHour: false })
return
}
if (this.value.multidate) {
let from = value.start
let due = value.end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment