palantir/blueprint

DateTime2 DatePicker no longer limits month select options when minDate specified

Aperta

#6891 aperta il 2 lug 2024

 (2 commenti) (1 reazione) (0 assegnatari)TypeScript (2167 fork)batch import
Package: datetimeType: bughelp wanted

Metriche repository

Star
 (20.263 stelle)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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.

Guida contributor