From 049a12dbc47ad775d9237a3882ec4a2a6c3bda33 Mon Sep 17 00:00:00 2001 From: Rye Date: Wed, 4 Mar 2026 22:28:44 +0100 Subject: [PATCH 1/2] fix(auth): disable auto-capitalization for server and username inputs --- src/app/pages/auth/ServerPicker.tsx | 2 ++ src/app/pages/auth/login/PasswordLoginForm.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/app/pages/auth/ServerPicker.tsx b/src/app/pages/auth/ServerPicker.tsx index e66d92a1d2..10dddb7d03 100644 --- a/src/app/pages/auth/ServerPicker.tsx +++ b/src/app/pages/auth/ServerPicker.tsx @@ -89,6 +89,8 @@ export function ServerPicker({ size="500" readOnly={!allowCustomServer} onClick={allowCustomServer ? undefined : handleOpenServerMenu} + // disable auto-capitalization, which is usually undesirable for server name input. + autoCapitalize="off" after={ serverList.length === 0 || (serverList.length === 1 && !allowCustomServer) ? undefined : ( } /> {loginState.status === AsyncStatus.Error && ( From 1862e418f3b318483a4ac7e6af1a3a2a69cc6a5f Mon Sep 17 00:00:00 2001 From: Rye Date: Wed, 4 Mar 2026 22:28:44 +0100 Subject: [PATCH 2/2] formatting using fmt --- src/app/pages/auth/login/PasswordLoginForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/auth/login/PasswordLoginForm.tsx b/src/app/pages/auth/login/PasswordLoginForm.tsx index 6e98be1d3b..74a55250a7 100644 --- a/src/app/pages/auth/login/PasswordLoginForm.tsx +++ b/src/app/pages/auth/login/PasswordLoginForm.tsx @@ -211,7 +211,7 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog required outlined // disable auto-capitalization, which is usually undesirable for username input. - autoCapitalize='off' + autoCapitalize="off" after={} /> {loginState.status === AsyncStatus.Error && (