Merge pull request #131 from dozro/autocapitalize-login-fix

fix automatic capitalization in login screen
This commit is contained in:
7w1 authored and GitHub committed 2026-03-04 20:09:04 -06:00
commit 696368ae35
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 && (