Open athimannil opened 7 months ago
There is option to disable specific dates
<Datepicker disabledDates={[ { startDate: "2023-02-02", endDate: "2023-02-05", }, { startDate: "2023-02-11", endDate: "2023-02-12", }, ]} startFrom="2023-02-02" value={value} onChange={handleValueChange} />
Is there option to disable all the weekends (Saturday and Sunday) ?
With like Date.getDay() === 0 || Date.getDay() === 6)
Date.getDay() === 0 || Date.getDay() === 6)
There is option to disable specific dates
Is there option to disable all the weekends (Saturday and Sunday) ?
With like
Date.getDay() === 0 || Date.getDay() === 6)