Fix disabled checkbox toggle buttons#31651
Merged
Merged
Conversation
Member
|
Do we have an example of disabled labels in our docs somewhere? If not could you add it? |
Contributor
Author
|
Added examples to the documentation |
olsza
pushed a commit
to olsza/bootstrap
that referenced
this pull request
Oct 3, 2020
* fix disabled checkbox toggle buttons * add disabled checks-radios examples in documentation Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi
Fixed a bug from issue #31355
For convenience of managing the state "disabled" added variables to _variables.scss.
$form-check-input-disabled-opacity- the default opacity for input with the form-check-input class$form-check-label-disabled-opacity- The opacity value for the label. By default copies the value from $ form-check-input-disabled-opacity$form-check-btn-check-disabled-opacity- The opacity value for the checkbox toggle buttons. By default takes the opacity value for disabled buttonSolved with a selector
+because the order of input and label should not changeDemo: https://deploy-preview-31651--twbs-bootstrap.netlify.app/docs/5.0/forms/checks-radios/
Fixes #31355