]> git.apps.os.sepia.ceph.com Git - ceph.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>
Wed, 26 Jun 2024 13:22:40 +0000 (18:52 +0530)
commit38bcce2346b3430e93d67a443a27ebdf9232fec9
treee197648c3953babf206850ca640a1283709a6c68
parentf0b9411fd05d445b3992434b9577e866a67955ec
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>
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