]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix form validation problems in RGW user form 29000/head
authorTiago Melo <tmelo@suse.com>
Thu, 11 Jul 2019 17:46:15 +0000 (17:46 +0000)
committerTiago Melo <tmelo@suse.com>
Thu, 11 Jul 2019 18:42:17 +0000 (18:42 +0000)
commitc273996cb3f69171f34fee5f0491bb831901dc6b
treed212b9f4094a6ac2569463f72fbc0b8289785f58
parentbb264dd9361f9cd7d2d4e04a39510778ed7201b6
mgr/dashboard: Fix form validation problems in RGW user form

ng-bootstrap-form-validation requires that every "form-control" has
an associated "formControlName".

Since these didn't had one, we had to either removed the "form-control" class
or rename it to "cd-form-control" (which will apply the same style without
triggering the validation).

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html