From 1a2c80600cca17429d6321990df4dd8ae49a0a7d Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 10 Oct 2022 20:55:07 +0200 Subject: [PATCH] Added missing shouldn't unregister (#3530) --- .../src/authentication/components/ExecutionConfigModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx b/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx index 5cd2c293e1..9c335523f6 100644 --- a/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx +++ b/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx @@ -46,7 +46,7 @@ export const ExecutionConfigModal = ({ const [configDescription, setConfigDescription] = useState(); - const form = useForm(); + const form = useForm({ shouldUnregister: false }); const { register, setValue,