From 02b4fc0a38d1dcf82a1da18a224df751ccc1ba04 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Wed, 4 Sep 2019 10:58:27 +0000 Subject: [PATCH] mgr/dashboard: Fix error message not displayed in pool form Since the parent form-group was not assigned to any field and was never invalid, the invalid-feedback element was never displayed. Signed-off-by: Tiago Melo --- .../pool/pool-form/pool-form.component.html | 15 +++-------- .../pool/pool-form/pool-form.component.ts | 27 ++++++++++--------- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html index 99b15a2b1b3..df17a756033 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html @@ -34,6 +34,10 @@ The chosen Ceph pool name is already in use. + It's not possible to create an RBD pool with '/' in the name. + Please change the name or remove 'rbd' from the applications list. @@ -471,17 +475,6 @@ (changes)="currentConfigurationValues = $event()"> - -
-
-
- It's not possible to create an RBD pool with '/' in the name. - Please change the name or remove 'rbd' from the applications list. -
-