chore: do not set default for required value in DatepickerInline

This commit is contained in:
kolaente 2025-05-13 21:17:13 +02:00
parent a50fa13d7e
commit 9d1750f1db
1 changed files with 2 additions and 4 deletions

View File

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