Closed java773863202 closed 7 years ago
Hello @java773863202
You can get both index and value from 'onSelect' of RadioGroup
<RadioGroup
//...other props
onSelect={this.onSelect}
>
//...radio buttons
</RadioGroup>
onSelect(index, value){
this.setState({
selectedIndex: index
selectedValue: value
})
}
If this issue still a problem, please re-open issue again
How do I get the value of the selected item?