jquery/jquery-mobile — Issue #2756: Flip toggle switch - Doesnt refresh with new value when disabled
Author: madaz
Created: 2011-10-20 04:34:17+00:00
State: open

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