Merge pull request #199 from dozro/fix/login-screen-fields
fix autocorrect/spellcheck issue on login page
This commit is contained in:
3 files changed
+11
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sable: patch
|
||||
---
|
||||
|
||||
Disable autocorrect and spellcheck on the login page.
|
||||
@@ -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 && (
|
||||
|
||||
Reference in new issue
Block a user