-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datepicker): empty month select box when 'displayMonths' > 1
The list of months and years was generated from the focused date rather than the first displayed date, which was inconsistent with the value used in the datepicker navigation component, which uses the first displayed date. This inconsistency was not visible when displayMonths = 1 but it sometimes caused the following issue when several months were displayed: the month select box was empty as it did not contain the currently displayed month. Fixes #2377 Closes #2452
- Loading branch information
1 parent
dccfc31
commit 18acd62
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters