Skip to content

Commit

Permalink
fix: edit dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
shanexi committed Jan 22, 2025
1 parent 8787664 commit 6af40d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const EditDialog = (props: IEditDialogProps) => {
if (Object.keys(errors).length > 0) {
return;
} else {
for (const key in formData) {
for (const key in values) {
if (values[key] !== undefined) {
setValue(`${name}.${key}`, values[key]);
}
Expand Down

0 comments on commit 6af40d7

Please sign in to comment.