Skip to content

Commit

Permalink
Merge pull request #1057 from vukadinFE/feat/expose_isDisabled_method
Browse files Browse the repository at this point in the history
feat: expose isDisabled method to month-year slot
  • Loading branch information
Jasenkoo authored Dec 28, 2024
2 parents 7ed96fd + 19a1bbd commit 877c6db
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/VueDatePicker/components/DatePicker/DpHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
<div class="dp__month_year_wrap">
<slot
name="month-year"
v-bind="{ month, year, months, years, updateMonthYear, handleMonthYearChange, instance }"
v-bind="{
month,
year,
months,
years,
updateMonthYear,
handleMonthYearChange,
instance,
isDisabled,
}"
/>
</div>
</template>
Expand Down

0 comments on commit 877c6db

Please sign in to comment.