datetimepicker
datetimepicker copied to clipboard
Disabled date specific
Feature request
So I had an idea to ask this library could have a feature to disable certain dates in calendar
Why it is needed
So that people can remove certain days from the calendar
Possible implementation
this feature will work if someone wants to remove a certain day from the calendar, so there are two ways i.e.
- enter a list of any dates you want to deactivate
example:
<DateTimePicker disableDate={['2022-05-05', '2022-06-06']} />
- turn off certain days that you want to disable
example:
<DateTimePicker disableDate={['Sun', 'Mon', 'Tue']} />