Merge pull request #199 from dozro/fix/login-screen-fields

fix autocorrect/spellcheck issue on login page
This commit is contained in:
7w1 authored and GitHub committed 2026-03-06 10:34:11 -06:00
commit db62fb7044
3 files changed
+11

No files matched your search

@@ -0,0 +1,5 @@
---
sable: patch
---
Disable autocorrect and spellcheck on the login page.
+3
View File
@@ -91,6 +91,9 @@ export function ServerPicker({
onClick={allowCustomServer ? undefined : handleOpenServerMenu}
// disable auto-capitalization, which is usually undesirable for server name input.
autoCapitalize="off"
// disable spell-check and auto-correction
spellCheck={false}
autoCorrect="off"
after={
serverList.length === 0 || (serverList.length === 1 && !allowCustomServer) ? undefined : (
<PopOut
@@ -212,6 +212,9 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog
outlined
// disable auto-capitalization, which is usually undesirable for username input.
autoCapitalize="off"
// disable spell-check and auto-correction
spellCheck={false}
autoCorrect="off"
after={<UsernameHint server={server} />}
/>
{loginState.status === AsyncStatus.Error && (