Skip to content

Loading…

Sliders label ID gets overwritten #3981

Closed
MauriceG opened this Issue · 2 comments

3 participants

@MauriceG

A small issue: If a slider's label has an ID, it is overwritten with the sliders ID concatenated with "-label" (ine 39 in jquery.mobile.forms.slider.js)
I was stumbling about that, when trying to change the labels of sliders dynamical.
May a hint in the docs were also ok.

Demo at:
http://jsfiddle.net/MauriceG/jn2Y6/

@MauriceG MauriceG added a commit to MauriceG/jquery-mobile that referenced this issue
@MauriceG MauriceG Suggestion for #3981 - use existing label-id if there, otherwise gene…
…rate ID from sliders ID
473ae28
@jasondscott jasondscott was assigned
@toddparker

@jasondscott - mind reviewing this?

@jasondscott jasondscott pushed a commit to jasondscott/jquery-mobile that referenced this issue
Jason Scott Added tests for #3981 - Slider label ID gets overwritten
Tests for Issue #3981 and PR #4433
8c7d3e9
@MauriceG

fixed due to merged PR #4433
thanks @jasondscott and @johnbender !

@MauriceG MauriceG closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.