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.
The dropdowns just reset when i search for other key words on dropdowns on gallery.
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!
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.
Any more suggestion would be really helpful.
No the problem still not resolved.
Need Help to resolve this issue. As this problem is still active. If this can't be possible then we might add this as an idea to the PowerApps Gallery component.
Hi @ashwnaidv100 ,
This is a known issue with unbound gallery controls - they reset to Default whenever something is triggered from the gallery. If you are using a collection for the Gallery Items, use AddColumns to add a Text field, Patch to this field on the OnChange of the drop-down and then set the Default of the drop-down to ThisItem.TextFieldName.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @ashwnaidv100 ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
184 | |
123 | |
91 | |
47 | |
42 |
User | Count |
---|---|
271 | |
159 | |
132 | |
85 | |
78 |