fix: preserve initial value on create more issues (#4258)

This commit is contained in:
Anmol Singh Bhatia
2024-04-23 13:25:27 +05:30
committed by GitHub
parent f17e4c73a2
commit bf852739cd

View File

@@ -190,6 +190,7 @@ export const IssueFormRoot: FC<IssueFormProps> = observer((props) => {
reset({
...defaultValues,
...(isCreateMoreToggleEnabled ? { ...data } : {}),
project_id: getValues("project_id"),
description_html: data?.description_html ?? "<p></p>",
});