Can not set value to 0 (data-slider-value="0" not working)
Other values work well except 0, it'll show the default "5"
This should have been fixed in #55. Are you using the latest?
Thanks for your info :+1:
And I am using bower to install it, let me take a look, it's "seiyria-bootstrap-slider": "~1.9.0"
Ah, that's probably the problem then. Let me make a new tag in bower and I'll give you a quick update.
Thanks :)
There, you should now be able to update to 1.9.5. Let me know if it's still giving you problems!
ok, I'll try it out now
Thank you so much :smile:
Yeah, it works now :smiley:
Great. Enjoy!
I am using bootstrap-slider.js v3.0.0 and I have the same problem. I manually include JS and CSS files. value = '0' doesn't work
Can you show a fiddle, @ventouris?
i have also faced the same issue and after reading the comments i thought to update the slider, which is the best option. But if someone needs the same version for some reason there is a part of the script towards the end of the bootstrap-slider.js $.fn.slider.defaults = { min: 0, max: 10, step: 1, orientation: 'horizontal', value: 5, selection: 'before', tooltip: 'show', handle: 'round', formater: function(value) { return value; } };
if you see this is the default value when the slider is initiated and here "value:5" because of this the default value is taking as 5 so change it to "value:0" that's it it started working for me. :)