palantir/blueprint

DateTime2 DatePicker no longer limits month select options when minDate specified

Open

#6891 opened on Jul 2, 2024

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

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