Past dates cannot be selected in DatePicker
Closed this issue · 0 comments
perinikhil commented
Is your feature request related to a problem? Please describe.
Consider a use-case where one needs to search for an item within a date-range, with the current implementation of the DatePicker, disabled days is hardcoded to present and future dates, what if we need to search for a booking made in the past?
Describe the solution you'd like
Expose disabledDays API of DayPicker through DatePickerInput
- only downsides of this being that one needs to know the DayPicker disabledDays API too.