diff --git a/src/components/Dashboard/common/ObjectForm.jsx b/src/components/Dashboard/common/ObjectForm.jsx index 6d3a11b..4dab3f7 100644 --- a/src/components/Dashboard/common/ObjectForm.jsx +++ b/src/components/Dashboard/common/ObjectForm.jsx @@ -430,8 +430,8 @@ const ObjectForm = forwardRef( setEditLoading(true) const currentFormData = { - ...value, - ...objectData + ...objectData, + ...value } onStateChangeRef.current({ editLoading: true }) await updateObject(id, type, currentFormData)