-
I am currently using react day picker to select a range of dates, and that is working perfectly. I want to also have a clear button that will clear the selection that was previously made and have the date filtering not be applied whatsoever. Is there a way to do this? I'm having trouble finding a way to do this in the documentation. |
Beta Was this translation helpful? Give feedback.
Answered by
gpbl
Oct 25, 2024
Replies: 1 comment 2 replies
-
@jojamu7 which code have you already tried? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jojamu7 please share some code 🙏
An example with a reset button (=clear selection) is here:
https://github.com/gpbl/react-day-picker/blob/main/examples/Range.tsx