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

groupValue Documentation a bit confusing #125

Open
Benjy1979 opened this issue Jun 22, 2022 · 1 comment
Open

groupValue Documentation a bit confusing #125

Benjy1979 opened this issue Jun 22, 2022 · 1 comment

Comments

@Benjy1979
Copy link

Benjy1979 commented Jun 22, 2022

The readme.md says

groupValue | any | the value representing a radio group's current value. supply the same groupValue to every radio-button in a group

I'm not sure what this means. It sounds like you send what would normally be "name" (to make them act as a radio group) but then fetch groupValue to get the currently selected value?
Can more documentation be put in to explain how you fetch the selected value?

@lukemelia
Copy link
Contributor

This addon follows a data-down, actions-up approach, so you pass the current value of the radio button group into each button as groupValue and receive the changed action when a radio button is changing value by virtue of someone clicking it.

I'm happy to accept a PR that improves the documentation.

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

2 participants