I am trying to do the UpdateContext only in one Gallery Item and them Patch to a sharepoint list, like bellow.
UpdateContext({restrict: Value(TextInput1.Text)});;
If(restrict>ThisItem.Extra_Forecast; UpdateContext({restrict:ThisItem.Extra_Forecast}));;
Patch(App_ExtraForecast; ThisItem;{Equalization_Seller:Value(TextInput1.Text)})
The Patch is working fine, but when I put the UpdateContext and If condition, also as the restrict in the Default function, when I change an Text Input, it changes in all gallery item.
How can I do this UpdateContext only in the selected item of the gallery?
