xxxxxxxxxx
You can disable the native HTML form validation by providing
the noValidate attribute to your <Form /> component
xxxxxxxxxx
// sessionData is the result of fetching data
useEffect(() => {
sessionData &&
reset({
name: sessionData?.user?.name,
username: sessionData?.user?.username,
email: sessionData?.user?.emails.email,
password: "",
confirmPassword: "",
});
}, [sessionData]);