Closed jenstornell closed 8 years ago
Thanks for reporting, will look into this soon.
@jenstornell - could you provide a jsfiddle that shows what is not working?
Sure! Check the console when drag and release. In the fiddle the value is at most 100, but I have set max="15"
in my input range html. The other html settings are probably also not working.
http://jsfiddle.net/fpLknbw9/4/
There are also javascript values commented out. If uncommenting them it works because that way I get the numbers myself by javascript, as a workaround. I would prefer by setting the values in the html.
Ok, this should be
var slider = document.querySelector('.rangeslider');
Heres the updated fiddle: http://jsfiddle.net/fpLknbw9/5/
Ahh, so simple! Then I'm surprised it worked at all the other way.
This issue I had before so it's not only the development branch.
HTML
JS code
Might be a little messy but when I uncomment what I have commented, it works. Now with the comments the slider function work but it does not get the slider values from the HTML. It says undefined.
My current solution is that I force the values to the JS. It works but it bloats the JS a little bit.
Maybe it's a bug, or maybe I just missed something.