From 877f1a16a2dabcd2e92b74ba0c3b47243b7f13ea Mon Sep 17 00:00:00 2001 From: Dion Date: Tue, 5 Mar 2024 12:58:11 +0100 Subject: [PATCH] disabel spell check due privacy issues in google chrome --- starsky/starsky/clientapp/src/containers/account-register.tsx | 3 +++ starsky/starsky/clientapp/src/containers/login.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/starsky/starsky/clientapp/src/containers/account-register.tsx b/starsky/starsky/clientapp/src/containers/account-register.tsx index 7f7df84b16..94af36de36 100644 --- a/starsky/starsky/clientapp/src/containers/account-register.tsx +++ b/starsky/starsky/clientapp/src/containers/account-register.tsx @@ -131,6 +131,7 @@ const AccountRegister: FunctionComponent = () => { name="email" maxLength={80} data-test="email" + spellCheck={false} value={userEmail} placeholder={MessageExampleUsername} onChange={(e) => setUserEmail(e.target.value)} @@ -145,6 +146,7 @@ const AccountRegister: FunctionComponent = () => { name="password" data-test="password" maxLength={80} + spellCheck={false} placeholder={MessageExamplePassword} value={userPassword} onChange={(e) => setUserPassword(e.target.value)} @@ -157,6 +159,7 @@ const AccountRegister: FunctionComponent = () => { autoComplete="off" type="password" maxLength={100} + spellCheck={false} name="confirm-password" data-test="confirm-password" value={userConfirmPassword} diff --git a/starsky/starsky/clientapp/src/containers/login.tsx b/starsky/starsky/clientapp/src/containers/login.tsx index 6f2486c44d..e36e5f7f93 100755 --- a/starsky/starsky/clientapp/src/containers/login.tsx +++ b/starsky/starsky/clientapp/src/containers/login.tsx @@ -153,6 +153,7 @@ export const Login: React.FC = () => { data-test="email" name="email" maxLength={80} + spellCheck={false} value={userEmail} placeholder={MessageExampleUsername} onChange={(e) => setUserEmail(e.target.value)} @@ -164,6 +165,7 @@ export const Login: React.FC = () => { data-test="password" name="password" maxLength={80} + spellCheck={false} value={userPassword} placeholder={MessageExamplePassword} onChange={(e) => setUserPassword(e.target.value)}