I have a Power App with a screen full of Toggles. Please note on this particular screen I do not have a datasource, it's merely 8 items on the screen with a toggle item next to each one. My issue is the Power App will not save the state of the toggle's when refreshed. So for example all toggles are switched to ON, refreshing the Power App puts them all back to Off.
In case this is needed, the reason I don't have a datasource is simply because it's not required. It's essentially a screen for Flows to be turned on or off based on their toggle value. I'd like the toggle's to remain at what their value was during the app session and not reset back to off.
Is there anything stopping you from using an external data source to save this state info for you? As a web app, Power Apps don't read/write cookies so they don't implicitly remember a user's state.
If you are using mobile devices, a collection combined with the SaveData() & LoadData() functions is a great wat to do this.
_________________________________________________________________________________________ Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.