I'm using
Set(var1,Filter(Choices(test.status),Value="Reject"))
as found here to choose a value in a SharePoint list.
I'm also using
Button1.OnSelect = UpdateContext({ toggleValue: !toggleValue })
as found here to change the appearance of the button.
So my initial formula for all six buttons looked something like this before I learned that this affects all buttons at the same time.
OnSelect = Set(var1,Filter(Choices(test.status),Value="Reject"))&UpdateContext({ toggleValue: !toggleValue})
Color= If(toggleValue, Color.White, Color.Yellow)
I've updated each button with toggleValue1 or toggleValue2, etc. so each selection only affects the button that's pressed.
What I need help with is DEselecting a button when another button is pressed.
So if button 1 is selected the color goes to yellow. Then if button 2 is selected, button 1 text should turn white and button two text should go yellow.