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 bf77a3b commit a11342aCopy full SHA for a11342a
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