]> 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:28:33 +0000 (14:58 +0530)
commit9d93201c9589a6b72bcb874e11829e8f0ad4e7c9
tree824ee40ec15feb2937cbb6b3c9c6869d2ae1e22d
parent314e8e3c4009ffd757464ef2820ebe906d1575c3
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