Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7645b commit e061715Copy full SHA for e061715
site/src/components/SignInForm/SignInForm.tsx
@@ -76,6 +76,11 @@ export const SignInForm: React.FC<SignInFormProps> = ({
76
password: "",
77
},
78
validationSchema,
79
+ // The email field has an autoFocus, but users may login with a button click.
80
+ // This is set to `false` in order to keep the autoFocus, validateOnChange
81
+ // and Formik experience friendly. Validation will kick in onChange (any
82
+ // field), or after a submission attempt.
83
+ validateOnBlur: false,
84
onSubmit,
85
})
86
const getFieldHelpers = getFormHelpers<BuiltInAuthFormValues>(form)
0 commit comments