sumcumo / vue-datepicker

A datepicker Vue component. Compatible with Vue 2.x.
https://sumcumo.github.io/vue-datepicker/
Apache License 2.0
75 stars 22 forks source link

Event changed-month/year not working with min/max-view set #121

Closed arwinvdv closed 3 years ago

arwinvdv commented 3 years ago

Hi, when I set minimum-view="day" and maximum-view="day", the events changed-month and changed-year are not triggered anymore when you change the month/year. Only the event changed-decade will be triggered every time.

Sample: https://codesandbox.io/s/cocky-austin-fvzg6?file=/src/App.vue

I use now the changed-decade event as workaround, but I think its a bug?

MrWook commented 3 years ago

Hey, thanks for the report it is definitely a bug. I will look into it

mst101 commented 3 years ago

Sorry guys, me again. @MrWook - I'm on it and will send through a PR today.

arwinvdv commented 3 years ago

Nice, thanks! Looking forward to the new release.

rainey-tf commented 2 years ago

Was this issue resolved? The changed-decade event is still emitting when I change months.

MrWook commented 2 years ago

Hey, i'm sorry but it's not released yet. It will be released in the next major version