mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix(mobile): login screen disable auto-correct input fields (#48)
Fixes #27 Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
90610bea9f
commit
da9e0423c8
1 changed files with 3 additions and 0 deletions
|
|
@ -296,6 +296,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
onSubmitted: (value) => retrieveListOfUsers(),
|
||||
autoFillHints: const [AutofillHints.url],
|
||||
keyboardType: TextInputType.url,
|
||||
autocorrect: false,
|
||||
textInputAction: TextInputAction.go,
|
||||
label: context.localized.server,
|
||||
errorText: (invalidUrl == null || serverTextController.text.isEmpty || !startCheckingForErrors)
|
||||
|
|
@ -347,6 +348,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
controller: usernameController,
|
||||
autoFillHints: const [AutofillHints.username],
|
||||
textInputAction: TextInputAction.next,
|
||||
autocorrect: false,
|
||||
onChanged: (value) => setState(() {}),
|
||||
label: context.localized.userName,
|
||||
),
|
||||
|
|
@ -355,6 +357,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
autoFillHints: const [AutofillHints.password],
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
focusNode: focusNode,
|
||||
autocorrect: false,
|
||||
textInputAction: TextInputAction.send,
|
||||
onSubmitted: (value) => enterCredentialsTryLogin?.call(),
|
||||
onChanged: (value) => setState(() {}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue