From c0826c43b0dde8d9d18cf31dd41eedfc207667f7 Mon Sep 17 00:00:00 2001 From: Mykal Machon Date: Sun, 11 Aug 2024 21:24:37 -0700 Subject: [PATCH] fix: explicitly disabling `autocapitalize` and `spellcheck` (#3797) fix #3747: removing autocapitalize and spellcheck --- web/src/pages/SignIn.tsx | 6 ++++++ web/src/pages/SignUp.tsx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsx index da84a775..43aa5616 100644 --- a/web/src/pages/SignIn.tsx +++ b/web/src/pages/SignIn.tsx @@ -128,6 +128,9 @@ const SignIn = () => { readOnly={actionBtnLoadingState.isLoading} placeholder={t("common.username")} value={username} + autoComplete="username" + autoCapitalize="off" + spellCheck={false} onChange={handleUsernameInputChanged} required /> @@ -141,6 +144,9 @@ const SignIn = () => { readOnly={actionBtnLoadingState.isLoading} placeholder={t("common.password")} value={password} + autoComplete="password" + autoCapitalize="off" + spellCheck={false} onChange={handlePasswordInputChanged} required /> diff --git a/web/src/pages/SignUp.tsx b/web/src/pages/SignUp.tsx index a3341a2c..92102aac 100644 --- a/web/src/pages/SignUp.tsx +++ b/web/src/pages/SignUp.tsx @@ -93,6 +93,9 @@ const SignUp = () => { readOnly={actionBtnLoadingState.isLoading} placeholder={t("common.username")} value={username} + autoComplete="username" + autoCapitalize="off" + spellCheck={false} onChange={handleUsernameInputChanged} required /> @@ -106,6 +109,9 @@ const SignUp = () => { readOnly={actionBtnLoadingState.isLoading} placeholder={t("common.password")} value={password} + autoComplete="password" + autoCapitalize="off" + spellCheck={false} onChange={handlePasswordInputChanged} required />