Thank you for taking the time to read my question.
I have this code that resets my drop down.
UpdateContext({resettext: !resettext});
UpdateContext({resettext: !resettext});
It currently runs when the screen becomes visible (OnVisible). The drop down filters a gallery.
I want to reset my drop down because it remembers what I selected last time I was on that screen and filters for that value. Having the code run at OnVisible flashes the gallery for a second before the drop down is reset. I don't want this...
I have a back button and I put my code on that button before the Back() function is called. That does not seem to reset the drop down.
How can I reset my drop down before the user navigates to the screen so they do not see a flash of what was selected last time before resetting?
Thanks