kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

Switching the year and month individualy #25

Closed jruescher closed 4 years ago

jruescher commented 4 years ago

hi, is it possible to switch the year and month (in the calendar header) individualy? It was available in the older version https://kekeh.github.io/mydatepicker/ old-version

kekeh commented 4 years ago

You can switch to the month view to click a month name on the header. Same works also with a year. There are also options to these:

monthSelector - If true and if month label is selected opens a selector of months. yearSelector - If true and if year label is selected opens a selector of years.

Was that the answer to your question?

jruescher commented 4 years ago

hey, thanks for the reply. Not excactly.. i want to switch the year with the Arrow Symbol. So for example:

< Jan > .. < 2021> < Jan > .. < 2022>

It was working like this in the old version

kekeh commented 4 years ago

In this component by clicking the arrow symbol change only month.

I have changed that functionality in this new component, because almost all date pickers work that way. Why you need to change the year by clicking the arrow button?

Maybe we find a workaround if you tell more.

kekeh commented 4 years ago

If you quickly want to change a year, you have to click a year number on header and select a year you want.