tb / ng2-nouislider

Angular2 noUiSlider directive
http://tb.github.io/ng2-nouislider/
MIT License
184 stars 114 forks source link

Programmatic change of underlying ngModel spoils slider config object #148

Open takinosaji opened 6 years ago

takinosaji commented 6 years ago

When we are changing value of variable passed into slider's ngModel then internal slider config field looses "formatting" property. As a result we receive unhandled exception and slider breaks.

prashu2705 commented 6 years ago

I'm facing somewhat similar issue. Not able to figure how to set the slider value programmatically while writing unit tests. Any help?