New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
madaz opened this Issue Oct 20, 2011 · 2 comments

Comments

Projects
None yet
3 participants
@madaz

madaz commented Oct 20, 2011

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')

redaemn added a commit to redaemn/jquery-mobile that referenced this issue Oct 22, 2011

toddparker added a commit that referenced this issue Oct 28, 2011

Merge pull request #2812 from redaemn/flip-switch-improvements
Fix for issue #2756 - flip toggle slider animated snapping. Thanks redaemn!
@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Oct 28, 2011

Contributor

@4fa6ccdc0d8625f58e43e446f24bc4e65f87cb1d

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.

Contributor

johnbender commented Oct 28, 2011

@4fa6ccdc0d8625f58e43e446f24bc4e65f87cb1d

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.

timmywil pushed a commit to timmywil/jquery-mobile that referenced this issue Nov 5, 2011

timmywil pushed a commit to timmywil/jquery-mobile that referenced this issue Nov 5, 2011

Merge pull request #2812 from redaemn/flip-switch-improvements
Fix for issue #2756 - flip toggle slider animated snapping. Thanks redaemn!
@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Jul 16, 2012

Member

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

Member

jaspermdegroot commented Jul 16, 2012

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