Skip to content

Commit

Permalink
fix: edit dialog (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanexi authored Jan 22, 2025
1 parent 2497e37 commit 44a3d24
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 44a3d24

Please sign in to comment.