forked from github/plane
fix: preserve initial value on create more issues (#4258)
This commit is contained in:
parent
f17e4c73a2
commit
bf852739cd
@ -190,6 +190,7 @@ export const IssueFormRoot: FC<IssueFormProps> = observer((props) => {
|
|||||||
|
|
||||||
reset({
|
reset({
|
||||||
...defaultValues,
|
...defaultValues,
|
||||||
|
...(isCreateMoreToggleEnabled ? { ...data } : {}),
|
||||||
project_id: getValues("project_id"),
|
project_id: getValues("project_id"),
|
||||||
description_html: data?.description_html ?? "<p></p>",
|
description_html: data?.description_html ?? "<p></p>",
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user