Range Slider "Change" event not fired when updating values using API.

2 posts, 1 answers
  1. Norm
    Norm avatar
    6 posts
    Member since:
    May 2017

    Posted 11 Jun 2018 Link to this post

    The change event is not fired when I change values using the API.



  2. Answer
    Ivan Danchev
    Ivan Danchev avatar
    2150 posts

    Posted 13 Jun 2018 Link to this post

    Hello Norm,

    By design the RangeSlider's change event fires only when the user sets the value through the drag handler or the keyboard. It does not fire when the value is set programmatically (with the value or values API methods). In this case you can trigger the event if you want it to fire. I've made the respective modifications to the setStartValue and setEndValue handlers in your example so that the event is triggered after setting the value: updated dojo.

    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top