diff --git a/src/VueTailwindDatePicker.vue b/src/VueTailwindDatePicker.vue index 51fe198..9e03e3d 100644 --- a/src/VueTailwindDatePicker.vue +++ b/src/VueTailwindDatePicker.vue @@ -466,7 +466,7 @@ function asRange() { } function inRangeDate(date: Dayjs) { - if (props.disableInRange) + if (props.disableInRange || typeof props.disableDate === 'function') return false if (pickerValue.value === '') return false