This is a migrated thread and some comments may be shown as answers.

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

1 Answer 498 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Norm
Top achievements
Rank 2
Norm asked on 11 Jun 2018, 03:57 PM

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

https://dojo.telerik.com/@normpetroff/itoqUquY

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 13 Jun 2018, 06:48 AM
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.

Regards,
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.
Tags
Slider
Asked by
Norm
Top achievements
Rank 2
Answers by
Ivan Danchev
Telerik team
Share this question
or