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],