From: Kiefer Chang Date: Mon, 15 Jun 2020 07:16:57 +0000 (+0800) Subject: mgr/dashboard: fix wal/db slots controls in the OSD form X-Git-Tag: v16.1.0~1886^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F35565%2Fhead;p=ceph.git mgr/dashboard: fix wal/db slots controls in the OSD form Controls should be updated immediately after changing. Fixes: https://tracker.ceph.com/issues/44985 Signed-off-by: Kiefer Chang --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts index a6ad22f05cb5..8acfd4924bb1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts @@ -107,11 +107,9 @@ export class OsdFormComponent extends CdForm implements OnInit { createForm() { this.form = new CdFormGroup({ walSlots: new FormControl(0, { - updateOn: 'blur', validators: [Validators.min(0)] }), dbSlots: new FormControl(0, { - updateOn: 'blur', validators: [Validators.min(0)] }), features: new CdFormGroup(