palantir/blueprint

DateTime2 DatePicker no longer limits month select options when minDate specified

Open

#6,891 opened on Jul 2, 2024

View on GitHub
 (2 comments) (1 reaction) (0 assignees)TypeScript (2,167 forks)batch import
Package: datetimeType: bughelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

DateTime2 DatePicker no longer limits month select options when minDate specified.

Steps to see:

  1. Go to https://blueprintjs.com/docs/#datetime2/date-picker3
  2. Select min date "1 week ago"
  3. BUG: All 12 months are still displayed as options in the month select. Previously (DateTime 1), months would have been reduced to only the available months.

Contributor guide