ember-radio-button icon indicating copy to clipboard operation
ember-radio-button copied to clipboard

groupValue Documentation a bit confusing

Open Benjy1979 opened this issue 3 years ago • 1 comments
trafficstars

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?

Benjy1979 avatar Jun 22 '22 13:06 Benjy1979

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.

lukemelia avatar Jul 04 '22 03:07 lukemelia