Announcements
Hi all,I want to initialize (blank) the value entered in the "TextInput" when the "Button" is pressed.
Could you please tell me how?
Hi @Bird ,
Make the Reset of the Text box a Variable (I will use varReset here) and on the Button OnSelect
UpdateContext({varReset:true}); UpdateContext({varReset:false})
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
is described in OnSelect of the Button,
Where and what should I write in TextInput?
As I posted - the Reset of the Text box needs to be
varReset
Thank you for doing it.
By the way, is it possible to reset it 3 seconds after the button is pressed?
Only with a Timer Control -
OnSelect of Button
UpdateContext({varTimer:true}); UpdateContext({varTimer:false})
Start of Timer
varTimer
Timer OnTimerEnd
Hi @WarrenBelz ,
UpdateContext({varReset:true});
If only, the timer will work.
but,
If I put both in, the timer will not run.
What should I do?
I am a bit lost here - what code are you putting in the Timer and where are you putting it ?
timer1 in an empty area.
OntimerStart of timer1 is
You need the code on Start, not OnTimerStart
"Start" of Timer
but, Timer does not count...
And,
Is it possible to erase the characters in the TextLabel when the timer counts and reaches OnTimerEnd?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 914
11manish 627
Valantis 598