cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JasonHoffo
Frequent Visitor

Radio button on a gallery row

I have a gallery with a button on each row. when the button is pressed . a Collect command is executed which creates a new row in the gallery. 

 

I have a radio button on the gallery row , but as each row is the same as the other, the change on the radio button is duplicated on each row - is there a way to go away from this behaviour. I. need to be able to select a radio button (to a different result) on each gallery row. 

 

Any ideas ? Is there a way I can save the cofiguration of the gallery in a collection that keeps the gallery looking the same even if the radio button is different on each row. 

 

Hope you can help. 

 

J

2 REPLIES 2
BrianS
Super User
Super User

I may be confused here. Is the radio button tied to a field in the list? If so it will reflect the value of that row, not change to be the same as the new item. If it is based on a variable, it would do that. 

I think we need a little more info.

RandyHayes
Super User III
Super User III

@JasonHoffo 

Can you share more about exactly what you are seeing?

There is a definitive issue when using a Radio control in a Gallery.  It comes from using the OnChange or OnSelect actions of the control and then altering the underlying Items of the gallery.  In many cases the value of the Radio in the first row of the Gallery will end up duplicating in all the Rows.  This seems to be related only to the first row Radio control.

However...the point here - if you can ditch the Radio control in the Gallery and opt for another method, you might find yourself in better shape.  I typically will use either checkbox or toggle to simulate what is needed.

The above may not apply at all to what you are saying, so if you are seeing or wanting something different, please post more details.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (93,278)