Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Flip toggle switch - Doesnt refresh with new value when disabled #2756

Closed
madaz opened this Issue · 2 comments

3 participants

Adam John Bender Jasper de Groot
Adam

Cant update a flip toggle switch when it is disabled from code.

I am using the flip toggle switch as a nice UI for a list of readonly settings, some settings can change by browser events so I need to update the UI.

Workaround:

Enable, set value, refresh, then disable

$('#slider').slider('enable').val('on').slider('refresh').slider('disable')

Gabriele Rabbiosi redaemn referenced this issue from a commit in redaemn/jquery-mobile
Gabriele Rabbiosi redaemn Issue #2756 - flip toggle switch value can be changed when the switch…
… is disabled
396f8d0
John Bender

@4fa6ccd

That's the offending commit according to a quick git bisect. I'll take a look tomorrow though it may result in reverting the previous addition.

Timmy Willison timmywil referenced this issue from a commit in timmywil/jquery-mobile
Gabriele Rabbiosi redaemn Issue #2756 - flip toggle switch value can be changed when the switch…
… is disabled
d427e3b
Jasper de Groot

The changes haven't been reverted so I am closing as fixed.

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.