Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom year/month navigation update dropdown but not calendar #2018

Open
Atiqullah-Naemi opened this issue Jul 8, 2020 · 0 comments · May be fixed by #2020
Open

custom year/month navigation update dropdown but not calendar #2018

Atiqullah-Naemi opened this issue Jul 8, 2020 · 0 comments · May be fixed by #2020

Comments

@Atiqullah-Naemi
Copy link

I am using react-dates and specified min and max dates, also created custom year/month navigation, but the problem is that if the month is by default before the month in min date and want to change year, it change month and year in both panels to min date month/year and if you click on prev icon it should be disabled and next icon should be enabeld (for example: if left panel month is Jul, right panel month should be Aug) but still it navigates and month and year in both panels are the same

You can check demo here demo
first change the year to 2017 and then change month to Jan it will change to Jul which is fine, but when you click on prev navigation icon all the months will be Jul

any help please?

@Atiqullah-Naemi Atiqullah-Naemi changed the title custom year/month navigation update dropdown but calendar custom year/month navigation update dropdown but not calendar Jul 8, 2020
@mmarkelov mmarkelov linked a pull request Jul 8, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant