From 2a7b392d873f224e71c50d2916dbd1a63e4360f9 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Mon, 15 Jun 2020 15:16:57 +0800 Subject: [PATCH] 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 --- .../src/app/ceph/cluster/osd/osd-form/osd-form.component.ts | 2 -- 1 file changed, 2 deletions(-) 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( -- 2.47.3