mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 07:01:17 +08:00
fix: explicitly disabling autocapitalize
and spellcheck
(#3797)
fix #3747: removing autocapitalize and spellcheck
This commit is contained in:
parent
724db203f7
commit
c0826c43b0
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
/>
|
||||
|
|
|
@ -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
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue