-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set singleDatePicker dynamically #123
Comments
Did you managed to fix this, I'm experiencing the same problem. Thanks |
Ran into the same issue . Hoping for a solution . |
Guys try this. Its working for me.
|
closing this due to inactivity. please re-open if this is still an issue in v6.0.0 or greater |
I need to set singleDatePicker dynamically but when I switch "singleDatePicker" between true and false, it does NOT update the dropdown between single and double calendar. Any idea how to fix this?
<DateRangePicker name={name} startDate={startDate} endDate={endDate} className="form-control" onApply={applyHandler(onChange)} locale={{ format: 'YYYY-MM-DD' }} singleDatePicker >{displayDate(value, singleDatePicker)}</DateRangePicker>
Thanks for this component!
The text was updated successfully, but these errors were encountered: