diff --git a/src/components/shared/DatePicker.vue b/src/components/shared/DatePicker.vue index 982eedb9..7f0cd9ad 100644 --- a/src/components/shared/DatePicker.vue +++ b/src/components/shared/DatePicker.vue @@ -9,6 +9,7 @@ const model = defineModel(); const props = defineProps<{ id?: string; readonly?: boolean; + clearable?: boolean; label?: string; rules?: ((value: string) => string | true)[]; disabledDates?: string[] | Date[] | ((date: Date) => boolean); @@ -54,6 +55,7 @@ function valueUpdate(value: string) { utc auto-apply :id + :for="id" :disabled="readonly" :disabled-dates="disabledDates" :teleport="true" @@ -100,6 +102,15 @@ function valueUpdate(value: string) { color="primary" /> +