I think there is a problem with filters when it's about month-picker. Indeed, I give an array with my month in int to filters and it works but impossible to select dates from my array and they don't take the "dp__overlay_cell_disabled " class like min and max date.
Did I forget something or it's an issue?
I think there is a problem with filters when it's about month-picker. Indeed, I give an array with my month in int to filters and it works but impossible to select dates from my array and they don't take the "dp__overlay_cell_disabled " class like min and max date. Did I forget something or it's an issue?
Here is my code:
<VueDatePicker v-model="date" :format-locale="fr" month-picker name="date-picker" :action-row="{showSelect: false, showCancel: false, showPreview:false}" auto-apply :min-date="startDate" :max-date="endDate" prevent-min-max-navigation :filters="filters"></VueDatePicker>
`computed: { filters(){ if(this.perdate == null){ return null } const currentDate = new Date() const perdate=Object.values(this.perdate); return { months: perdate.map((item) => getMonth(addMonths(currentDate, item))) }; }