Hello!
In my powerapp, if you use the drop-down to select a person, I populate a collection with their tasks:
ClearCollect(MyRows,Filter(AddColumns(ScorecardRows,"GreenRedResult","Yellow"),UnderwriterIndex=LookUp(Underwriters,Person.SelectedText.Value=UnderwriterName).UnderwriterIndex))
A gallery is populated using the collection. I have a radio button on each row of the gallery for the user to choose "Green" or "Red" - whether the task is completed. I'm trying to update the collection using the radio button's "On Change":
Patch(MyRows,Rows.Selected,{GreenRedResult:GreenRed.Selected.Value})
When I try to click the radio button, nothing happens the first time. The second time I click it selects a value, but when I click on the radio button on the second row it unchecks the first row's radio button.
1. Am I approaching the problem correctly?
2. How do I get the radio button to work properly?
Thanks!