mdbootstrap / bootstrap-toggle-buttons

Bootstrap-toggle-buttons has moved to https://github.com/nostalgiaz/bootstrap-switch
https://github.com/nostalgiaz/bootstrap-switch
Apache License 2.0
1.02k stars 92 forks source link

State not toggled when clicking on a label : REDUX (aka Son of the Stateless Label) #10

Closed brendanheyu closed 11 years ago

brendanheyu commented 11 years ago

So - you've done awesome... I feel like I'm that PITA from the test team that finds every little thing and adds it to the JIRA fault list.

I swear, I'm not that guy!

Continuing from this fiddle (http://jsfiddle.net/j5QDF/3/) The label click now works! YAY! But (oh oh) -the only catch is that the button state colour does not change. So if you "on" state is blue, when using the label to change the state, the background colour remains blue rather than changing to the off colour.

Make sense? I hope so!

Thanks again!

nostalgiaz commented 11 years ago

Ok, here we go! Is it ok? http://jsfiddle.net/pqbGL/

brendanheyu commented 11 years ago

Oh oh. Looks pretty busted up in IE....

nostalgiaz commented 11 years ago

Can you open me a new issue?