-
-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Milestone
Description
I want to disable all days from current day, for that I have used
const range = { before: new Date() } <DayPicker initialMonth={ new Date() } disabledDays={range} selectedDays={ new Date() } onDayClick={this.handleDayClick} />
But it disabled current day as well, i.e. if today is 25th of april then all days before 25th should get disabled and current date i.e. 25th should get selected.
Can anyone please help me what went wrong here?