diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss index 3ca4264d7819..2cf04704da72 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 a65a85797798..9a390e4ff2cc 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