I have a gallery that displays items from a SharePoint list. I also put a text input box into the gallery. The NextArrow onselect action in the gallery does, amongst other things, set(variable, textinput), and the hidden property of the nextarrow depends on the text input box containing a numeric >0.
If I input a positive number into a box, the next arrow shows, and I can click that and move on, all good. But, if I enter text into a text box, then change my mind and enter text into the text box within another item in the gallery, I'd like to reset the text box in the first item.
This is what I mean.. Single item with text input:
Now if I click in another box and enter a number, I'd like the first one (circled) to clear. Can I do that?
I tried using the reset function in the onselect action of the text box, but it doesn't reset the other text boxes within the gallery.
This is what I did as a workaround.
First, use a context variable. In this example, we used "DefaultVal".
Under the Advance --> Data Section, there is a Reset Field for the textfield.
So in my case, every time a screen reloads, it will be reset to default "0". So, to achive this, under the onVisible selection, enter this:
The same can be applied for buttons as well.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Voting Ends: October 30, 2019!
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round