Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Slider isn't refreshed properly when value is set to empty string #3029

@anpsince83

Description

@anpsince83

When you set a slider's input value to an empty string and refresh it, ie: $("#myslider").val('').slider('refresh');, the slider handle stays in place and does not move back to the beginning as you would expect.

This is easy to reproduce: go to http://jquerymobile.com/demos/1.0rc2/docs/forms/slider/index.html, and put $('#slider-0').val('').slider('refresh'); into the console, run it, and you will see the slider handle does not move.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions