Skip to content

Commit 803ecc0

Browse files
feat(month-picker): adds the month-overlay-value slot to the MonthPicker while not using the month-year slot
1 parent 57b20e6 commit 803ecc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/VueDatePicker/components/MonthPicker/MonthPicker.vue

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
</template>
4646
</YearModePicker>
4747
</template>
48+
<template v-if="$slots['month-overlay-value']" #item="{ item }">
49+
<slot name="month-overlay-value" :text="item.text" :value="item.value" />
50+
</template>
4851
</SelectionOverlay>
4952
</template>
5053
</InstanceWrap>

0 commit comments

Comments
 (0)