Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita11342a

Browse files
greyscaledkylecarbs
authored andcommitted
fix: error when clicking on login screen (#1445)
Resolves:#1435
1 parentbf77a3b commita11342a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎site/src/components/SignInForm/SignInForm.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ export const SignInForm: React.FC<SignInFormProps> = ({
7676
password:"",
7777
},
7878
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,
7984
onSubmit,
8085
})
8186
constgetFieldHelpers=getFormHelpers<BuiltInAuthFormValues>(form)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp