fix: explicitly disabling autocapitalize and spellcheck (#3797)

fix #3747: removing autocapitalize and spellcheck
This commit is contained in:
Mykal Machon 2024-08-11 21:24:37 -07:00 committed by GitHub
parent 724db203f7
commit c0826c43b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -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
/>

View file

@ -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
/>