Skip to content
New issue

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

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

Already on GitHub? # to your account

Problem with Modal - always starts in the "on" #394

Closed
thiagotalma opened this issue Dec 4, 2014 · 5 comments
Closed

Problem with Modal - always starts in the "on" #394

thiagotalma opened this issue Dec 4, 2014 · 5 comments
Assignees

Comments

@thiagotalma
Copy link

When we use the switch in a modal, it always opens in the "on" position, regardless of the setting.

It may be reproduced here:
http://jsfiddle.net/pxdc1jau/

When the modal is opened, the two switches are in the "ON"

Using Chrome version 39.0.2171.65 m

@chrmod
Copy link

chrmod commented Dec 5, 2014

confirmed on Firefox 34, on jsfiddle and own project as well

@Cinezaster
Copy link

Not only in modals, but also when rendered with backbone and handlebars templates. I invoke the bootstrapSwitch onRender (when the dom element is created).
Using Chrome.

@jakenoble
Copy link

I get the same in Chrome. Even if I re-run the initialisation of the switch after the modal is shown.

@Goeny
Copy link

Goeny commented Dec 13, 2014

Probably same issue as #392
there the same issue is in tabs.

@LostCrew LostCrew self-assigned this Dec 16, 2014
@LostCrew
Copy link
Member

@Goeny correct, duplicate of #392.

@LostCrew LostCrew assigned LostCrew and unassigned LostCrew Dec 21, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants