Skip to content

Commit

Permalink
templates: fix potential error in the initial form state caused by ty…
Browse files Browse the repository at this point in the history
…pe mismatch (#10713)
  • Loading branch information
paulpopus authored Jan 21, 2025
1 parent b55342d commit 5e4a1d4
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 471 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ export const buildInitialFormState = (fields: FormFieldBlock[]) => {
[field.name]: '',
}
}

return initialSchema
}, {})
}
Loading

0 comments on commit 5e4a1d4

Please # to comment.