You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
j-r-t
changed the title
Switch is not initialized when it's not visible on load
Switches value is not parsed when it's not visible on load
Apr 27, 2015
Hi,
When using bootstrap switch with tabs, if the switch is on a tab which is not shown on page load the switches value is not parsed.
Eg. If my value is false / OFF - the switch will be true / ON
There's others who have had the issue as well - it is something which has effected those using the angular-bootstrap-switch directive.
See frapontillo/angular-bootstrap-switch#52
Plunkr: http://plnkr.co/edit/pyAhiI?p=preview
This is using angular-bootstrap-switch - however I have personally reproduced it without angular.
Is this a known issue? Sorry I don't have time to look through the other issues right now.
Many thanks.
The text was updated successfully, but these errors were encountered: