Added missing shouldn't unregister (#3530)

This commit is contained in:
Erik Jan de Wit 2022-10-10 20:55:07 +02:00 committed by GitHub
parent 5766941ce4
commit 1a2c80600c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ export const ExecutionConfigModal = ({
const [configDescription, setConfigDescription] = const [configDescription, setConfigDescription] =
useState<AuthenticatorConfigInfoRepresentation>(); useState<AuthenticatorConfigInfoRepresentation>();
const form = useForm<ExecutionConfigModalForm>(); const form = useForm<ExecutionConfigModalForm>({ shouldUnregister: false });
const { const {
register, register,
setValue, setValue,