fix form validation mode

This commit is contained in:
Ildar Kamalov
2025-01-24 14:49:12 +03:00
parent 254b25a026
commit 681cdb023e
27 changed files with 178 additions and 83 deletions

View File

@@ -101,7 +101,7 @@ export const Settings = ({ handleSubmit, handleFix, validateForm, config, interf
formState: { isValid },
} = useForm({
defaultValues,
mode: 'onChange',
mode: 'onBlur',
});
const watchFields = watch();