darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
144 stars 63 forks source link

Initial value doesn't show when from is greater than to. #68

Closed tandyjames closed 9 years ago

tandyjames commented 9 years ago

http://jsfiddle.net/g9e9n8xc/62/

If you read the value after it first starts, it shows the correct numbers "100;1", but the graphic doesn't match. If you set the value different then back (either via ui or in code) then it displays correctly.

Thanks, T.J.

scchadwi commented 9 years ago

+1

dafrautn commented 9 years ago

+1

darul75 commented 9 years ago

hi all, I understand this is a bug but can not figure where ;) Do you mean label should show "100-1" and not only "1" ? thx

tandyjames commented 9 years ago

The slider should be blue with a ball at the top (100) and at the bottom (1). Instead it is grey and both balls are at the bottom.

tandyjames commented 9 years ago

It might help if I had a non minimized version. How do I use it non minimized (the dist dir only has a .min).

darul75 commented 9 years ago

ooh yeah sure there is a bug, you can find src not minified in src folder and html, I will fix it soon

darul75 commented 9 years ago

done, will be available tonight or tomorrow

darul75 commented 9 years ago

new release, tell me if it is ok https://github.com/darul75/ng-slider/releases/tag/2.2.0

tandyjames commented 9 years ago

Perfect!!! Thanks!

scchadwi commented 9 years ago

Thanks for the fix! This works now as expected.