Skip to content

Commit

Permalink
disabel spell check due privacy issues in google chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Mar 5, 2024
1 parent d97a2dc commit 877f1a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions starsky/starsky/clientapp/src/containers/account-register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand All @@ -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)}
Expand All @@ -157,6 +159,7 @@ const AccountRegister: FunctionComponent = () => {
autoComplete="off"
type="password"
maxLength={100}
spellCheck={false}
name="confirm-password"
data-test="confirm-password"
value={userConfirmPassword}
Expand Down
2 changes: 2 additions & 0 deletions starsky/starsky/clientapp/src/containers/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export const Login: React.FC<ILoginProps> = () => {
data-test="email"
name="email"
maxLength={80}
spellCheck={false}
value={userEmail}
placeholder={MessageExampleUsername}
onChange={(e) => setUserEmail(e.target.value)}
Expand All @@ -164,6 +165,7 @@ export const Login: React.FC<ILoginProps> = () => {
data-test="password"
name="password"
maxLength={80}
spellCheck={false}
value={userPassword}
placeholder={MessageExamplePassword}
onChange={(e) => setUserPassword(e.target.value)}
Expand Down

0 comments on commit 877f1a1

Please sign in to comment.