WIP Обработана ошибка при очистке в inputDate
This commit is contained in:
@@ -28,7 +28,7 @@ export default {
|
||||
return this.modelValue?.toISOString().split("T")[0];
|
||||
},
|
||||
set(value) {
|
||||
this.$emit("update:modelValue", new Date(value));
|
||||
this.$emit("update:modelValue", value ? new Date(value) : null);
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user