
Announcements
Hello there,
i have a combox and text box placed in the gallery. This is for the Employee self assessment app. The gallery is coming from collection
I have noticied that, i am unable to reset the gallery controls even though i say reset(gallery1) on screen Onvisible properly or on any button.
How do i achieve this. Even if i clear the collection the values in text box and combo box stays on it. Please assit.
Hello @venka91 ,
I would firstly add some Power Fx to create a boolean output to act as a reset trigger for the controls:
UpdateContext({cvReset: true});UpdateContext({cvReset: false});
Then, for the Reset property of both the combo box & text input controls in the gallery, update the value to cvReset:
Tested my end, I think that achieves what you need.
------------------------------------------------------------------------------------------------------------------------------
If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.
If my response was a good one, please give it a Thumbs Up!
Visit my blog: https://platformsofpower.net