Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Toggle reset with dropdowns

Hi there!

I have 3 dropdowns which display the results in a gallery list with toggles defaulted to 'true'. Here the user can either turn a toggle on or off. 

I want these toggles to remain to what the user selects (either on or off), while they select different options in the dropdowns. 

How can I do this?


Super User III
Super User III

Hi @BelitaDsouza ,

You did not include the Items of the gallery, but if they are a collection, you can use AddColumns to include a Boolean (true/false) field for each of the toggles, Patch the value of the toggle to this field and make the Default of the toggle the field concerned.

The reason for this is that unbound controls in a gallery reset if any any action is initiated from within the gallery, so if you "store" the toggle value and link to this field, when the gallery resets, it will show the value saved.


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.



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (61,279)