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

Gallery.Selected.Date lost after "OnSelect" on gallery item

Hello.

 

I had a wierd experience in PowerApps today. After selecting a gallery item, I use the "Gallery.Selected.Item" as input to a form on the next page.

 

The variable in Gallery.Selected.Item was lost after a few seconds each time. After refreshing powerapps, this problem has not been seen afterwards.

 

Anyone who tried this before?

 

Thanks in advance,

 

Daniel.

1 ACCEPTED SOLUTION

Accepted Solutions


@v-monli-msft wrote:

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona


Hello, I used that for all my gallerys in the app. However, when clicking quickly around the gallery this was not precise, as it sometimes lost the content. Instead I use SET(var,gallery.selected) as this is way more stable.

 

BR. Daniel

View solution in original post

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona

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.


@v-monli-msft wrote:

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona


Hello, I used that for all my gallerys in the app. However, when clicking quickly around the gallery this was not precise, as it sometimes lost the content. Instead I use SET(var,gallery.selected) as this is way more stable.

 

BR. Daniel

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,568)