Reset Date Range Picker #3318
Replies: 2 comments 9 replies
-
You can use Here is a forked version of the example you linked, but with a clear button added: https://codesandbox.io/s/daterangepicker-with-clear-button-13l5s6?file=/src/RangeCalendar.js |
Beta Was this translation helpful? Give feedback.
-
Sorry for the previous spam. Ultimately, the error can be reproduced here:
Do you have anything in mind? @reidbarber |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to reset the selected range? I've looked everywhere and couldn't find anything related.
For example, in this demo https://codesandbox.io/s/objective-shape-8r4utm?file=/src/RangeCalendar.js I'd like to add a clear button that'd reset the state back to its placeholder value.
Beta Was this translation helpful? Give feedback.
All reactions