Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Gallery select item inside a card not working

If I put a custom text gallery inside a card, item is not selected if I put a button on it.


If I have a blank screen and I put the gallery control on the screen everything works fine.

Helper I
Helper I

If I was not clear enough...I added a button on the GalleryX item and that button redirects to EditForm. If I check GalleryX.SelectedItem on EditForm it is set to null.


When using GalleryX on blank screen it works OK.

Community Support
Community Support

Hi ales,



After I put a custom text gallery inside a card, actually only the item in the first card cannot show correctly, it will show blank value. But the rest cards are showing the item correctly:


Also, I do not quite understand what you mean by " item is not selected if I put a button on it.", would you please upload a screenshot of this?




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your reply. I attached an image displaying my problems. the first example I add Text Gallery to the "Card" control (I selected the first template for the screen...see second image) in the second example I add it to the empty screen. In the first example "Gallery2.Selected" is not getting selected, in the second example "Gallery3.Selected" is set correctly.


This is selected for the screen option (unlimited slide option) where Gallery selection is not working.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,628)