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
Flatpickr monthSelectPlugin doesnt highlight correct month, when data is loaded #2669
Comments
koesper
pushed a commit
to koesper/flatpickr
that referenced
this issue
Mar 17, 2022
…s set currentmonth to 0, not the actual selected month
koesper
pushed a commit
to koesper/flatpickr
that referenced
this issue
Mar 17, 2022
…hSelectPlugin with a defaultDate
koesper
pushed a commit
to koesper/flatpickr
that referenced
this issue
Mar 20, 2022
…s set currentmonth to 0, not the actual selected month
koesper
pushed a commit
to koesper/flatpickr
that referenced
this issue
Mar 20, 2022
…s set currentmonth to 0, not the actual selected month
Somewhat related to this issue, but not exactly the same, is the fact that if minDate is in the future, the current month is highlighted even though it is not selectable. Let me know if it would make more sense to create a separate issue for this please. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://jsfiddle.net/koesper/y9o4vL0m/
Your Environment
The problem:
If you use the monthSelectPlugin and prefill the field with a date, the wrong month (always January) is highlighted.
When you change the value, and re-open the picker, it does work.
The text was updated successfully, but these errors were encountered: