So I have a very basic powerapp that is connected to an online Excel sheet. We are using this for clean checks in apartments. I have toggle switches for each item that say whether it is clean or not. Everything works great however, when I go to the detail screen, it shows me the proper value from the toggle, but when I click the edit button in the top right corner and go to the edit page, it moves all my toggles back to their original position. The text boxes contain the same values that were inputted, but the toggles all reset. Any ideas on how I can fix this?
Hi @thaynetr ,
Have you updated successfully by using this toggle?
If you just insert toggle, but not set it to update function, the toggle will not update value automatically.
Try this formula: (set the toggle's OnChange)
If you have updated value successfully by using this toggle, but in edit screen the toggle did not display right value.
If the toggle is in edit form, try to set it Default:
Please replace tablename,fieldname, item will the value in details.
Hi @thaynetr ,
Could you tell me
1)the data type of status field?
2)the Item of the edit form?
I assume that it is a choice field.
the item is gallery1.Selected
I suggest you set the toggle's Default in the edit form:
Or you could also replace "gallery1.Selected" with the item that you want.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights