We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The is no function handling in isYearDisabled in year-picker.ts.
isYearDisabled
To Reproduce
<script> import DatePicker from "@vuepic/vue-datepicker"; import '@vuepic/vue-datepicker/dist/main.css' export default { name: "DatePickerExamnle", components: {DatePicker}, data() { return { years: [new Date("2023").getFullYear()] } }, methods: { isDateDisabled(date) { console.log("this is never called"); return false; }, }, }; </script> <template> <date-picker v-model="years" :year-range="[2010, new Date().getFullYear()]" :disabled-dates="isDateDisabled" year-picker multi-dates /> </template>
Expected behavior Should evaluate callback function for disabled dates.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
The is no function handling in
isYearDisabled
in year-picker.ts.To Reproduce
Expected behavior
Should evaluate callback function for disabled dates.
The text was updated successfully, but these errors were encountered: