Hi,
I have a simple app divded into 2 screens. One screen is a gallery with many items. Onclick, I transfert ThisItem over tot he next screen. So far everything is working flawless.
Now the problem I have is that at somepoint, I need to be able to patch ThisItem when inputs or dropdowns are changed. This allows me to keep my background data and interface in sync so that on save I can easily grab ThisItem and update my Sharepoint list.
However, Patch does not seem to work on variables or Context (Set() or UpdateContext()). So mmy solution was to create a collection and on the default of the input I do something like First(Collection). In thoery this would work but seems clunky and messy.
I could also do UpdateContext directly but since it comes from Sharepoint, it adds a bunch of hidden columns that becomes impossible to work with in a clean fashion.
Im wondering if anyone knows of a better way to update a Context via Patch() somehow?