From: Volker Theile Date: Mon, 15 Jul 2019 10:09:57 +0000 (+0200) Subject: mgr/dashboard: Form fields do not show error messages/hints. X-Git-Tag: v15.1.0~2205^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29043%2Fhead;p=ceph.git mgr/dashboard: Form fields do not show error messages/hints. Fixes: https://tracker.ceph.com/issues/40778 Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/dashboard/frontend/src/styles.scss b/src/pybind/mgr/dashboard/frontend/src/styles.scss index a14292f3820f..70ceed0212ff 100644 --- a/src/pybind/mgr/dashboard/frontend/src/styles.scss +++ b/src/pybind/mgr/dashboard/frontend/src/styles.scss @@ -390,3 +390,10 @@ pre { bfv-messages { display: none; } + +// Display error message in 'input-group' form fields. +// https://github.com/twbs/bootstrap/issues/23454 +// https://github.com/adrianhurt/play-bootstrap/issues/118 +.form-group.has-error .invalid-feedback { + display: block; +}