Open krzempekk opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Is your feature request related to a problem? Please describe. I would like to implement custom flow with react-datepicker, allowing user to first select month using month picker and then year using year picker. Code looks roughly like this:
This, however, will not work, because when year is selected, the date is set to the beginning of this year.
Describe the solution you'd like I wonder what is the rationale behind setting start of the year when the year is selected (same happens for month). In order not to break existing implementations it would be great if there were boolean prop to control this behaviour.
Describe alternatives you've considered Alternative for my case is to save selected month from month picker in other place and later merge it with selected year.