PowerApps: Custom SP View form and default gallery selection
Even when clearing the collection, I cannot get Powerapps to select the first Gallery item in a custom view form by default when closing the view form and selecting a different list item. It fires once, the very first time, then nothing when I go to other list items.
The parent child relationship between the View form and child items listed in the gallery work great btw, no problems there.
Gallery1.Default = First(Collection1)
I tried Screen1.OnHidden = Clear(Collection1) thinking it may be referencing the first item incorrectly, but that didn’t help.
Any suggestions? Perhaps in SP vs stand-alone apps the custom form is never truly hidden, just collapsed out of view, and OnHidden doesn’t get triggered properly?