diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss index 3ca4264d78..2cf04704da 100644 --- a/scss/forms/_floating-labels.scss +++ b/scss/forms/_floating-labels.scss @@ -84,7 +84,8 @@ } } - > :disabled ~ label { + > :disabled ~ label, + > .form-control:disabled ~ label { // Required for `.form-control`s because of specificity color: $form-floating-label-disabled-color; &::after { diff --git a/site/content/docs/5.3/forms/floating-labels.md b/site/content/docs/5.3/forms/floating-labels.md index a65a857977..9a390e4ff2 100644 --- a/site/content/docs/5.3/forms/floating-labels.md +++ b/site/content/docs/5.3/forms/floating-labels.md @@ -89,7 +89,7 @@ Add the `disabled` boolean attribute on an input, a textarea or a select to give