Hi everyone,
I'm experiencing something I would call a "bug".
In my app I have added a toggle button to turn Yes or No a toggle input in a Sharepoint list.
I have setup the OnCheck and OnUncheck settings to patch the sharepoint list.
The OnCheck action works, so if in the sharepoint list the toggle is set to No, if I click on the toggle button to True on Powerapp it updates the toggle of the sharepoint list to Yes.
But in reverse it doesnt work, when I click again the toggle button to turn it to False, the toggle switches back to True and the change is not sent to the sharepoint list...
I dont know why because it the same actions, in one way it works but not reverse....
Here are my settings (its from a gallery displaying the sharepoint list objects) :
ONCHECK :
Patch('db-users'; LookUp('db-users'; ID = ThisItem.ID); {'Delegierten aktivieren':true})
ONUNCHECK :
Patch('db-users'; LookUp('db-users'; ID = ThisItem.ID); {'Delegierten aktivieren':false})
There is no error so I dont know why switch False doesnt update the toggle in the sharepoint list...
Any Idea ?
Thank you 🙂