diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 3830f5a9f16a..7dd9428f0663 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -776,6 +776,17 @@ When attempting to submit, you'll see the `:invalid` and `:valid` styles applied +
+
+ + +
+ You must agree +
+
+
@@ -842,6 +853,14 @@ While these feedback styles cannot be styled with CSS, you can still customize t +
+
+ + +
+
{% endexample %} @@ -903,7 +922,17 @@ We recommend using client side validation, but in case you require server side, - +
+
+ + +
+ You must agree +
+
+
{% endexample %} diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 627e0dc82c28..22906824212a 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -74,6 +74,11 @@ ~ .form-check-label { color: $color; } + + ~ .#{$state}-feedback, + ~ .#{$state}-tooltip { + display: block; + } } }