Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: explicitly disabling `autocapitalize` and `spellcheck` (#3797)

Mykal Machonc0826c43b0dd
diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsx
index da84a775a..43aa5616d 100644
--- a/web/src/pages/SignIn.tsx
+++ b/web/src/pages/SignIn.tsx
@@ -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
/>
diff --git a/web/src/pages/SignUp.tsx b/web/src/pages/SignUp.tsx
index a3341a2c3..92102aacb 100644
--- a/web/src/pages/SignUp.tsx
+++ b/web/src/pages/SignUp.tsx
@@ -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
/>