This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Slider: Discrete slider not initializing current value #1173
Closed
Description
What MDC-Web Version are you using?
v. 0.0.18
What are the steps to reproduce the bug?
- Set aria-valuenow to a certain value
- Initialize the Slider with autoinit or js
- Check the initialized sliders value
What is the expected behavior?
The initial state of the slider is set to the value specified with aria-valuenow.
What is the actual behavior?
The initial value of the slider is shown (and initialized as) zero.
Other information
The behavior can be observed in the demos as well.
Thanks for your work on these great components!