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
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
First of all, thank you very much for your work. Your component is helping us a lot.
I saw that the component have a prop called initialSelections which I can pass an array of selected dates. Is there any prop that I can use to override the current state of selected dates?
I want to let the user click in a "clear" button and remove all the selected dates, but I didn't find out how to force the component to have a specified state.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @matepaiva! This is a use case that I haven't come across yet. It totally makes sense, I'd be willing to accept a PR adding support for this. Essentially, we'd have two versions of the component - one "controlled" where you are responsible for keeping state, and one "managed" where state is handled internally.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, there!
First of all, thank you very much for your work. Your component is helping us a lot.
I saw that the component have a prop called
initialSelections
which I can pass an array of selected dates. Is there any prop that I can use to override the current state of selected dates?I want to let the user click in a "clear" button and remove all the selected dates, but I didn't find out how to force the component to have a specified state.
Thank you!
The text was updated successfully, but these errors were encountered: