mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: explicitly disabling autocapitalize
and spellcheck
(#3797)
fix #3747: removing autocapitalize and spellcheck
This commit is contained in:
@@ -128,6 +128,9 @@ const SignIn = () => {
|
|||||||
readOnly={actionBtnLoadingState.isLoading}
|
readOnly={actionBtnLoadingState.isLoading}
|
||||||
placeholder={t("common.username")}
|
placeholder={t("common.username")}
|
||||||
value={username}
|
value={username}
|
||||||
|
autoComplete="username"
|
||||||
|
autoCapitalize="off"
|
||||||
|
spellCheck={false}
|
||||||
onChange={handleUsernameInputChanged}
|
onChange={handleUsernameInputChanged}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
@@ -141,6 +144,9 @@ const SignIn = () => {
|
|||||||
readOnly={actionBtnLoadingState.isLoading}
|
readOnly={actionBtnLoadingState.isLoading}
|
||||||
placeholder={t("common.password")}
|
placeholder={t("common.password")}
|
||||||
value={password}
|
value={password}
|
||||||
|
autoComplete="password"
|
||||||
|
autoCapitalize="off"
|
||||||
|
spellCheck={false}
|
||||||
onChange={handlePasswordInputChanged}
|
onChange={handlePasswordInputChanged}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
@@ -93,6 +93,9 @@ const SignUp = () => {
|
|||||||
readOnly={actionBtnLoadingState.isLoading}
|
readOnly={actionBtnLoadingState.isLoading}
|
||||||
placeholder={t("common.username")}
|
placeholder={t("common.username")}
|
||||||
value={username}
|
value={username}
|
||||||
|
autoComplete="username"
|
||||||
|
autoCapitalize="off"
|
||||||
|
spellCheck={false}
|
||||||
onChange={handleUsernameInputChanged}
|
onChange={handleUsernameInputChanged}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
@@ -106,6 +109,9 @@ const SignUp = () => {
|
|||||||
readOnly={actionBtnLoadingState.isLoading}
|
readOnly={actionBtnLoadingState.isLoading}
|
||||||
placeholder={t("common.password")}
|
placeholder={t("common.password")}
|
||||||
value={password}
|
value={password}
|
||||||
|
autoComplete="password"
|
||||||
|
autoCapitalize="off"
|
||||||
|
spellCheck={false}
|
||||||
onChange={handlePasswordInputChanged}
|
onChange={handlePasswordInputChanged}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user