fix(auth): disable auto-capitalization for server and username inputs

This commit is contained in:
Rye committed 2026-03-05 02:38:50 +01:00
1 parent 368ec9e2f7
commit 049a12dbc4
2 files changed
+4

No files matched your search

+2
View File
@@ -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 : (
<PopOut
@@ -210,6 +210,8 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog
size="500"
required
outlined
// disable auto-capitalization, which is usually undesirable for username input.
autoCapitalize='off'
after={<UsernameHint server={server} />}
/>
{loginState.status === AsyncStatus.Error && (