fix validation on unselect date
This commit is contained in:
@@ -222,6 +222,10 @@ export default {
|
|||||||
this.$emit('input', { ...this.value, dueHour: false })
|
this.$emit('input', { ...this.value, dueHour: false })
|
||||||
}
|
}
|
||||||
} else if (what === 'date') {
|
} else if (what === 'date') {
|
||||||
|
if (value === null) {
|
||||||
|
this.$emit('input', { ...this.value, from: null, fromHour: false })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.value.multidate) {
|
if (this.value.multidate) {
|
||||||
let from = value.start
|
let from = value.start
|
||||||
let due = value.end
|
let due = value.end
|
||||||
|
|||||||
Reference in New Issue
Block a user