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

Commit 35edd3f

Browse files
committed
fix: customProps not passed
1 parent af60eeb commit 35edd3f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Vue3DatePicker/components/ActionRow.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
twoCalendars: { type: Boolean as PropType<boolean>, default: false },
4444
calendarWidth: { type: Number as PropType<number>, default: 0 },
4545
menuMount: { type: Boolean as PropType<boolean>, default: false },
46+
customProps: { type: Object as PropType<Record<string, unknown>>, default: null },
4647
});
4748
4849
const previewValue = computed((): string | string[] => {

src/Vue3DatePicker/components/MonthYearInput.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
filters: { type: Object as PropType<IDateFilter>, default: () => ({}) },
126126
monthPicker: { type: Boolean as PropType<boolean>, default: false },
127127
instance: { type: Number as PropType<number>, default: 1 },
128+
customProps: { type: Object as PropType<Record<string, unknown>>, default: null },
128129
});
129130
130131
const showMonthPicker = ref(false);

src/Vue3DatePicker/components/TimePicker/TimePicker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
twoCalendars: { type: Boolean as PropType<boolean>, default: false },
8585
noHoursOverlay: { type: Boolean as PropType<boolean>, default: false },
8686
noMinutesOverlay: { type: Boolean as PropType<boolean>, default: false },
87+
customProps: { type: Object as PropType<Record<string, unknown>>, default: null },
8788
});
8889
const slots = useSlots();
8990

0 commit comments

Comments
 (0)