chore: do not set default for required value in DatepickerInline
This commit is contained in:
parent
a50fa13d7e
commit
9d1750f1db
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Reference in New Issue