From 87cbd8d799db3c551bc728285a0d3daa393aaf75 Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Wed, 30 Aug 2023 16:07:42 -0230 Subject: [PATCH] Add all initial values to reset --- studio/components/interfaces/Support/SupportForm.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx index 2b34c0d912f..b711f15d6b8 100644 --- a/studio/components/interfaces/Support/SupportForm.tsx +++ b/studio/components/interfaces/Support/SupportForm.tsx @@ -282,6 +282,10 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => { subject: subject ?? initialValues.subject, category: selectedCategoryFromUrl?.value ?? initialValues.category, message: message ?? initialValues.message, + severity: initialValues.severity, + allowSupportAccess: false, + library: 'no-library', + organizationSlug: selectedOrganizationSlug, } resetForm({ values: updatedValues, initialValues: updatedValues }) }