cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Daniel_
Level: Powered On

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
Daniel_
Level: Powered On

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


@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
Community Support Team
Community Support Team

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

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.
Daniel_
Level: Powered On

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


@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
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,719)