cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Dropdown resets while using Filter or Search function on Gallery Items.

Hi all, 

 

I was troubling with gallery issues, I tried to implement the Search/Filter input in Gallery.Items and it works very well. 

I was able to filter any items within gallery but I do have a dropdown used in that particular Gallery.Items and it just resets back if I search any other terms after my first search. 

 

Here's a screen shot for the reference.

 

ashwnaidv100_0-1600859854113.png

 

The dropdowns just reset when i search for other key words on dropdowns on gallery.  

3 REPLIES 3
Highlighted
Frequent Visitor

Re: Dropdown resets while using Filter or Search function on Gallery Items.

Hi @ashwnaidv100 ,

 

Have you tried setting the default value as a variable? For example, change the 'OnSelect' value of the dropdown to "Set(FirstSelection, Dropdown1.SelectedItems.Value)", then the default value the dropdown as this variable, in this case "FirstSelection".

 

Hope this makes sense!

Highlighted
Helper II
Helper II

Re: Dropdown resets while using Filter or Search function on Gallery Items.

Hi @Maria_L,

 

This makes sense. I haven't tried it before. But I just tested after your post. And below is the result. Which says expected a record,

Even I tried FirstSelection.Value, But the error is same. Not sure even if this will keep it stored for each dropdown items in gallery. 
Even I tried to put {_value : FirstSelection}, But it also didn't worked out. 

 

ashwnaidv100_1-1600965464980.png

 

Any more suggestion would be really helpful. 

 

 

Highlighted
Helper II
Helper II

Re: Dropdown resets while using Filter or Search function on Gallery Items.

No the problem still not resolved. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (1,872)