-
Notifications
You must be signed in to change notification settings - Fork 49
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 we get selectedLocationIds to update on re-render #44
Comments
I pulled down the project and added the below to
|
This component was built to handle internally the state of the selected locations (kinda like an uncontrolled component). I think making A better solution might be to follow the same API as react-checkbox-group:
Unfortunately I think this issue can only be fixed in the next major version (v3.0.0) because there will be breaking changes. |
I am also looking into using such a feature using |
@arslanakhtar61 The next major version (v3.0.0) may include this feature. Until then, I would recommend to implement your own radio component around |
Having the component rerender when
selectedLocationIds
get updated is crucial to my use case as the selected states are stored on the backend.The text was updated successfully, but these errors were encountered: