web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery select item in...
Power Apps
Unanswered

Gallery select item inside a card not working

(0) ShareShare
ReportReport
Posted on by 35

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.

Categories:
I have the same question (0)
  • ales-savli Profile Picture
    35 on at

    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.

  • v-monli-msft Profile Picture
    on at

    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:
    Capture.PNG

     

    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?

     

    Regards,

    Mona

  • ales-savli Profile Picture
    35 on at

    Thank you for your reply. I attached an image displaying my problems. So...in 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.

     

     

    www.SlikoMat.com

     

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

     

    www.SlikoMat.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard