angular-slider / angularjs-slider

Slider directive for AngularJS 1.X. No dependencies and mobile friendly.
http://angular-slider.github.io/angularjs-slider
MIT License
1.23k stars 498 forks source link

rzslider sometimes shows NaN for rz-slider-model and sometimes shows value when initialized from javascript #661

Closed prabalZwayam closed 5 years ago

prabalZwayam commented 5 years ago

Steps to reproduce

Demo: http://jsfiddle.net/cwhgLcjv/ (fork this example and update the link)

Expected behaviour

The rz-slider-model should get initialized with value.

Actual behaviour

The rz-slider-model should get initialized with valu but sometimes it show NaN and again get initialzed with value. It periodically changes between actual value and NaN.