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.
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.
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?
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.
This is selected for the screen option (unlimited slide option) where Gallery selection is not working.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights