Greetings,
Is there any way to change the number format of the range slider label?
Like 1 000 instead of 1000?
Thank you
Greetings,
Is there any way to change the number format of the range slider label?
Like 1 000 instead of 1000?
Thank you
In case anyone will look for an answer, inside framework7/components/range/range-class.js
Replace line 353 with:
if (label) labels[knobIndex].text(value[knobIndex].toString().replace(/\B(?=(\d{3})+(?!\d))/g, " "));
And line 364 with:
if (label) labels[0].text(value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " "));