Unplanned
Last Updated: 03 Jan 2024 12:42 by Peter
Peter
Created on: 11 Dec 2023 15:51
Category: DateRangePicker
Type: Feature Request
1
Configure which months should the DateRangePicker show by default

Currently the DateRangePicker popup shows months like this:

  • If there is a selected start date, it will appear in the left month in the popup.
  • If there are no selected start/end dates, the component will show the current month and the next month.

The second case is fine when the current months are valid for selection (this depends on the Min and Max settings). However, if they are not, the user is presented with disabled months with no clear indication whether the valid date range is in the past or in the future, and how far away.

So, please expose a setting to set which month should display instead of the current month.

(Related to item Review DateRangePicker UX)

 
1 comment
Peter
Posted on: 03 Jan 2024 12:42

Or at the very least, if the max date is in the current month, then put the current month on the right side. 

2 lines of code to do this maybe..