Skip to content
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
@archnode

Description

What MDC-Web Version are you using?

v. 0.0.18

What are the steps to reproduce the bug?

  1. Set aria-valuenow to a certain value
  2. Initialize the Slider with autoinit or js
  3. 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!

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions