
Announcements
Hello,
Can someone let me know how to get the selectedIndex from a radiobutton in power apps?In my app I want to send the selected index of the redio button instead of the actual selected radio button text.
What is SelectedIndex?? There is no such thing as that for the controls.
If you want to implement some sort of index, then consider the following scenario:
Assuming an Items property of ["Yes", "No", "Maybe"]
You would change that to:
Table({Value: "Yes", Index: 1},
{Value: "No", Index: 2},
{Value: "Maybe", Index: 3}
)
Then, you can reference yourRadioControl.Selected.Index to get the "index" value.
I hope this is helpful for you.