Skip to content

bidirectional Binding input to RangeSlider #28

Closed
@ghost

Description

The RangeSlider updates the input perfectly. But updating the input field sets everything back to 50. I see that this is related to values being an array. I would guess that most use cases would require a single value.

var value = 50;

<RangeSlider bind:values={value}  />
<input type="number" bind:value  />

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions