]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: RGW User Form is validating disabled fields 38594/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Thu, 10 Dec 2020 06:00:36 +0000 (11:30 +0530)
committerLaura Paduano <lpaduano@suse.com>
Thu, 17 Dec 2020 14:04:10 +0000 (15:04 +0100)
commitcc856ebe78f5cb0d337f641d6167f5e7509342a3
tree8cd4bc6bd317a9f9900621c9dc79fcd8f17a976d
parentbdf3eebcd22d7d0b3dd4d5501bee5bac354d5b55
mgr/dashboard: RGW User Form is validating disabled fields

When you try to submit a non valid form, angular is checking all the fields of the form, resulting in some wrong validations.

Fixes:https://tracker.ceph.com/issues/47727
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 071d1f317de547bf8fae68a0700d429900d3a741)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts
 - $localize is not available in octopus, stick with i18n; also ModalService is BsModalService
   in octopus
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts