cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iamsordz
New Member

Gallery control randomly selecting items during first load

Hi

 

A few months ago users started reporting gallery control with randomly selected items during first load. See attached screenshot for sample case. This caused some data issue as user thinks they're editing their selected item although there's another one or more that is already preselected. I understand gallery control should by default allow single selection so now confused of the multiple selection that is happening.

 

Thanks.

 

George

2 REPLIES 2
v-yuxima-msft
Community Support
Community Support

Hi @iamsordz 

 

Could you please share more details of your gallery's items formula expression?

Do you set other controls about this to select the item?

Could you please check whether the App.OnStart?Is there formula expression and what is it?

Could you please check whether the Gallery.Default has been set by certain formula expression ?

If yes, please clear that and then test.

Gallery.Default.PNG

 

 

Best Regards.

Yumia  

Hi @v-yuxima-msft 

 

Thanks for the response.

 

Gallery.Default is blank

App.OnStart is also blank

Gallery data items formula :

If(
Refresh
, Filter('[dbo].[VinRegister]', LocationId = UserLocationId && 1 = 0)
, Sort(Filter('[dbo].[VinRegister]', LocationId = UserLocationId && NeedsECLSaleId = true), EntryDate)
)

Selected item in this gallery shows sale details below

2019-07-11 11_44_49-EC Register DEVELOPMENT - Saved (Unpublished) - PowerApps.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,441)