web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Slider control Value p...
Power Apps
Answered

Slider control Value property missing

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

In reading the PowerApps documentation for the Slider control, the very first thing in the documentation page is "Key Properties" and listed is Value, but this property is nowhere to be found under the Slider control properties. I am trying to reset the Slider control Value but cannot due to its property missing. Am I missing something? Is the documentation innacuarete? Is there another way to reset its value?

Categories:
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    The Value property in a slider is how you retrieve the value that is currently selected - you can think of it as a property that is output by the control. If you want to set the value of the slider, you can use its Default property - which is the value that will be set, before the user can drag its handle to change its value.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I understand you can set a default value. What I am trying to do is to reset its value back to the default once the user slides the control and some action takes place. I've tried multiple ways but doesn't seem to be working. I even added a button on the screen to test and set the button property to "sliderName.Value=640" but is not working. BTW, 640 is the value set on the slider control default value, wich obviously changes once I move the slider, then I clicked on the button, but the slider remains the same; my goal is to reset it back to its defaul, 640 in this case--I tried also using a context variable to no avail. Any suggestions?

  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    Got it. You can use the Reset property in the slider to make it return to the Default value. The thing about the Reset property is that it needs to see a change in its value, otherwise it doesn't work well (we're working on some usability improvements for that).


    So for your case, you can set the following properties:

    Slider1.Default: 640
    Slider1.Reset: resetSlider
    Button1.OnSelect: UpdateContext({resetSlider:true}); UpdateContext({resetSlider:false})

    When the user clicks the button, the value of the resetSlider context variable will be "pulsed". That will trigger the slider's Reset property, and it will return its value to the default (640).

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you! That worked!

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard