Skip to content

Commit

Permalink
fix: Emit update-month-year on year change in month-picker mode (f…
Browse files Browse the repository at this point in the history
…ixes #843)
  • Loading branch information
Jasenkoo committed Apr 22, 2024
1 parent ec8908a commit 2559857
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const useMonthOrQuarterPicker = ({

const selectYear = (year: number, instance: number) => {
calendars.value[instance].year = year;
emit('update-month-year', { instance, year, month: calendars.value[instance].month });
if (multiCalendars.value.count && !multiCalendars.value.solo) {
updateMultiCalendars(instance);
}
Expand Down

0 comments on commit 2559857

Please sign in to comment.