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

Preventing multi-selection in a gallery

Hi team,

 

Hope all's well. I've created an app that's designed to manage laptop assets. the premise being you select an asset from a gallery, then use a form to fill in the details for who its going to, when its booked out, and when it's expected to be returned. 

 

There's a little annoying glitch in it where you can select multiple entries in the gallery, which confuses the form and makes it a bit fiddly. I'm struggling to figure out how to set it up so it only selects one at a time.

 

I thought it would be something like OnSelect > Clear(Gallery1...)  but that's not working. Below is an example, where having two selected only gives the last one, but leaves the two boxes ticked (ignore the friendly names :D). 

 

RhysD_0-1631005962318.png

If I uncheck 'Kermit', the form then switches from 'Piggy' to 'Kermit' which just confuses things more:

 

RhysD_1-1631006136058.png

 

Any hints or ideas as to how I can iron this one out?

 

Have a great day!

 

Rhys. 

1 ACCEPTED SOLUTION

Accepted Solutions
RhysD
Frequent Visitor

Ok resolved this myself after having a little step back and thinking on it. I've switched to using an Icon rather than input and that does the trick. Not quite what I wanted, but it works never the less! 

View solution in original post

1 REPLY 1
RhysD
Frequent Visitor

Ok resolved this myself after having a little step back and thinking on it. I've switched to using an Icon rather than input and that does the trick. Not quite what I wanted, but it works never the less! 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,680)