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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>",
});