Skip to content

Conversation

phillc
Copy link
Contributor

@phillc phillc commented Aug 14, 2015

When a checkbox is disabled, the wrapping div needs the disabled class as well, so that the label can be styled correctly (change to the disabled cursor) http://getbootstrap.com/css/#checkboxes-and-radios

I'm not 100% sure if I did this correctly. According to the gist linked in the comments above t/separate, it says to just repass it in explicitly ( https://gist.github.com/sebmarkbage/a6e220b7097eb3c79ab7#consuming-and-transferring-the-same-prop ), and this was my interpretation of it... and I saw that a few places, like radio-options, do something similar.

@phillc
Copy link
Contributor Author

phillc commented Sep 3, 2015

Any thoughts on this?

@phillc
Copy link
Contributor Author

phillc commented Feb 11, 2016

ping

@sls
Copy link

sls commented Feb 11, 2016

fwiw we've been using this code in production for months

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

Successfully merging this pull request may close these issues.

2 participants