Wildhoney / ngRangeSlider

Multi-handle range slider utilising the native HTML5 input range elements.
http://ng-range-slider.herokuapp.com/
MIT License
55 stars 11 forks source link

How to update range slider from text inputs? #3

Closed davidpelayo closed 9 years ago

davidpelayo commented 10 years ago

I would like to know how to update the visual state (values) of range selectors considering two text inputs are created below the range selector. This way you can update the range from both elements, from the range selector as well as the text inputs with numbers always updated.

davidpelayo commented 10 years ago

I saw that without transforming the range = { from: x, to: y } object to _model = [ model.from, model.to ] array, it works perfectly!

Wildhoney commented 10 years ago

Glad you sorted it! :+1: