From 9d1750f1dbb27e791b3fb3607f84e10c184c4bd1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 13 May 2025 21:17:13 +0200 Subject: [PATCH] chore: do not set default for required value in DatepickerInline --- frontend/src/components/input/DatepickerInline.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/input/DatepickerInline.vue b/frontend/src/components/input/DatepickerInline.vue index f50d6a4f4..10ed595b2 100644 --- a/frontend/src/components/input/DatepickerInline.vue +++ b/frontend/src/components/input/DatepickerInline.vue @@ -84,11 +84,9 @@ import {createDateFromString} from '@/helpers/time/createDateFromString' import {useI18n} from 'vue-i18n' import {useFlatpickrLanguage} from '@/helpers/useFlatpickrLanguage' -const props = withDefaults(defineProps<{ +const props = defineProps<{ modelValue: Date | null | string -}>(), { - modelValue: null, -}) +}>() const emit = defineEmits<{ 'update:modelValue': [Date | null],