autoSort prop for DateRangePicker component #3225
Labels
component: DateRangePicker
status: Needs Triage
New issues that has not been looked into
type: Feature request
Related to this issue
DateRangePicker improvement
A prop called
autoSort
orautoSortRanges
could be added toDateRangePicker
in order to enable/disable automatic sorting of date ranges.The prop could be set to true by default so as not to break/alter the current behavior of the component, but by passing
autoSortRanges={false}
the dates written in the textbox do not get automatically sorted, so that if a user writesolderDate ~ newerDate
they seeolderDate ~ newerDate
in the textbox.The text was updated successfully, but these errors were encountered: