Closed soli004 closed 2 years ago
Tried this as well but get error "must pass a formatter for all handles"
tooltips: {
from: function(value) {
return Number(value);
},
to: function(value) {
return formatTime(value);
}
},
What noUiSlider version are you on?
14.6.4
Ah, okay. Your last example is valid and will work from 15.1.1.
ahh ok, I have not used .less and .ts so not sure how you link these files as with traditional files
If you're installing from npm, you can use the compiled files from dist
. If not, you can grab them from the documentation for now:
https://refreshless.com/nouislider/dist/nouislider.css?v=1550 https://refreshless.com/nouislider/dist/nouislider.js?v=1550
Adding a better manual download option is #1148.
Excellent that did the work!!! Thank you, big smile on my face :)
I'm glad I could help 😄
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If I am not using the format to hh:mm:ss the slider works fine but the tooltips is not human readable with seconds showing (its hard to read "17567.00") so I need a way to convert the seconds to hh:mm:ss for the tooltip only. But as soon as I do the format it breaks the slider function, it shows the h:mm:ss but slider stops working. I have arrival points on a map and all the points disappear when start moving the slider when using format to hh:mm:ss. This is part of the code I'm using, what is the solution to make it work? I have tried all possible way to my knowledge... thanks