From bf852739cd9df7f1390f0f295cedd02f88f43dea Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:25:27 +0530 Subject: [PATCH] fix: preserve initial value on create more issues (#4258) --- web/components/issues/issue-modal/form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/issues/issue-modal/form.tsx b/web/components/issues/issue-modal/form.tsx index 7897e105b..50f60bac5 100644 --- a/web/components/issues/issue-modal/form.tsx +++ b/web/components/issues/issue-modal/form.tsx @@ -190,6 +190,7 @@ export const IssueFormRoot: FC = observer((props) => { reset({ ...defaultValues, + ...(isCreateMoreToggleEnabled ? { ...data } : {}), project_id: getValues("project_id"), description_html: data?.description_html ?? "

", });