Notifications
Announcements
Hi
How do I reset the value to "0" on the slider & text input when returning to the screen, I have a variable called sliderValue.
Onchange:
UpdateContext({sliderValue:Slider1.Value})
Plus icon:
UpdateContext({sliderValue: sliderValue + 1})
Thank you
on that screen's onvisible property just add: UpdateContext({sliderValue: 0}); Reset(SliderName);
In the screen's OnVisible property, set the variable to zero and reset your slider control:
UpdateContext({sliderValue: 0}); Reset(Slider1);
@mmollet thank you
Bear in mind your slider will not reset with that solution.
I left out the reset as he/she mentioned resetting so I assumed that he/she had already added the reset function. I have ammended the solution to include this now.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268