]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix clone async validators with different groups
authorNizamudeen A <nia@redhat.com>
Wed, 26 Jun 2024 13:22:40 +0000 (18:52 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 28 Jun 2024 09:27:54 +0000 (14:57 +0530)
commit03e2010b58f32c7338a4744af9f294d77a47299a
treedd05efd96d263ff9e565ac9c09094a7e401b7f98
parent48db58014882d3d474e0520282f406f3a4092250
mgr/dashboard: fix clone async validators with different groups

Providing a way to dynamically update the async validator based on the
selector field so that when the selected value changes, the depended
field like the clone name gets validated again against the new value

Fixes: https://tracker.ceph.com/issues/66703
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 38bcce2346b3430e93d67a443a27ebdf9232fec9)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-snapshots-list/cephfs-subvolume-snapshots-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts