Skip to content
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

No uncontrolled option? #35

Open
amivag opened this issue Mar 13, 2022 · 0 comments
Open

No uncontrolled option? #35

amivag opened this issue Mar 13, 2022 · 0 comments

Comments

@amivag
Copy link

amivag commented Mar 13, 2022

I am trying to use this component in a controlled fashion, but it doesn't seem to work.

Does this component offer a way to set the values (selected time range) programmatically, besides the initial selectedInterval prop?

Because the selectedInterval prop only works the first time the component is initialized. It does not work to update the component if the selectedInterval changes later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant