Closed Abdias-Wang closed 5 years ago
A better solution would be to check if the parseint === 0 instead of coercing it and checking again string 0.
Anyway, an alternative is to set it up with js instead of html. You're welcome to submit a PR to address this behaviour though.
Works.
Issue: when set the data-slider-value = 0, it will reference to the options.value, which is default 5. need to add a check before setting this.value: