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

RadioGroup does not support different initial checked state #42

Open
robertrossmann opened this issue Oct 6, 2016 · 0 comments
Open

Comments

@robertrossmann
Copy link

The current RadioGroup component always renders the first radio option as being selected and this cannot be configured differently. This is because the checkedIndex is always set to 0 when the component renders.

A better approach would be to perhaps inspect the checked state of the children and set the initial checkedIndex accordingly?

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