Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit b41b639

Browse files
committed
fix: Disabling time-input prevents the flow option (fixes #114)
1 parent 548be2b commit b41b639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vue3DatePicker/components/DatepickerMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
});
303303
const slots = useSlots();
304304
const calendarWrapperRef = ref(null);
305-
const childrenMounted = reactive({ timePicker: false, monthYearInput: false, calendar: false });
305+
const childrenMounted = reactive({ timePicker: !props.enableTimePicker, monthYearInput: false, calendar: false });
306306
const monthYearInputRefs = ref<MonthYearInputRef[]>([]);
307307
const timePickerRef = ref<TimePickerRef | null>(null);
308308
const dpMenuRef = ref(null);

0 commit comments

Comments
 (0)