Skip to content
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

Switches value is not parsed when it's not visible on load #448

Open
j-r-t opened this issue Apr 27, 2015 · 3 comments
Open

Switches value is not parsed when it's not visible on load #448

j-r-t opened this issue Apr 27, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@j-r-t
Copy link

j-r-t commented 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.

@frapontillo
Copy link
Contributor

👍

@j-r-t 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
@j-r-t
Copy link
Author

j-r-t commented Apr 27, 2015

Updated title, added plunkr by @Splaktar and edited the issue to be more legible.

@LostCrew
Copy link
Member

Confirmed, will work to fix this soon.
Thanks for submitting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants