diff --git a/src/form/EntityForm.tsx b/src/form/EntityForm.tsx index 429898c..ec73285 100644 --- a/src/form/EntityForm.tsx +++ b/src/form/EntityForm.tsx @@ -150,7 +150,7 @@ export function EntityForm({ */ let baseDataSourceValues: Partial>; if ((status === "existing" || status === "copy") && entity) { - baseDataSourceValues = entity.values ?? {}; + baseDataSourceValues = entity.values ?? initEntityValues(schema, path); } else if (status === "new") { baseDataSourceValues = initEntityValues(schema, path); } else {