You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
className: datePickerClassName,// Unused, here to exclude it from calendarProps
onChange,
value,
...calendarProps
}=this.props;
This limits the possibilities of how React-Date-Picker and React-Calendar could be customized. #399 would be an example.
Proposed solution
Allow even more powerful customizations by adding calendarProps object which, you've guessed it, would contain all props that shall be passed to React-Calendar.
Alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
@wojtekmaj Thank you for this. I believe this would be a great feature to add!
I have set a minDate and maxDate with a default value of undefined but when I open the calendar, today's date shows by default. I would like the minDate to be the default date that shows when the calendar opens. If a minDate is set, I propose the calendar shows that date as the default date instead of today's date.
Nevertheless, if the default date behavior stays the same, since react-calendar has a prop for defaultActiveStartDate, would this change allow me to set the default date that is shown when the calendar is opened?
Before you start - checklist
Description
Currently, calendar consumes all props with a few exceptions:
react-date-picker/src/DatePicker.jsx
Lines 234 to 240 in 5f11efb
This limits the possibilities of how React-Date-Picker and React-Calendar could be customized. #399 would be an example.
Proposed solution
Allow even more powerful customizations by adding
calendarProps
object which, you've guessed it, would contain all props that shall be passed to React-Calendar.Alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: