diff --git a/web-admin/src/features/projects/environment-variables/EditDialog.svelte b/web-admin/src/features/projects/environment-variables/EditDialog.svelte index ad4cbdc4be3..f9309e892a4 100644 --- a/web-admin/src/features/projects/environment-variables/EditDialog.svelte +++ b/web-admin/src/features/projects/environment-variables/EditDialog.svelte @@ -87,10 +87,10 @@ submitting, reset: formReset, } = superForm(defaults(initialValues, schema), { - // See: https://superforms.rocks/concepts/multiple-forms#setting-id-on-the-client id: id, SPA: true, validators: schema, + resetForm: false, async onUpdate({ form }) { if (!form.valid) return; const values = form.data;