mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
Merge branch 'fix/tabLogin' into 'main'
fix: login form supports switching fields via tab See merge request famedly/fluffychat!787
This commit is contained in:
commit
26af3fc2f2
@ -38,6 +38,7 @@ class LoginView extends StatelessWidget {
|
|||||||
autofocus: true,
|
autofocus: true,
|
||||||
onChanged: controller.checkWellKnownWithCoolDown,
|
onChanged: controller.checkWellKnownWithCoolDown,
|
||||||
controller: controller.usernameController,
|
controller: controller.usernameController,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
keyboardType: TextInputType.emailAddress,
|
keyboardType: TextInputType.emailAddress,
|
||||||
autofillHints:
|
autofillHints:
|
||||||
controller.loading ? null : [AutofillHints.username],
|
controller.loading ? null : [AutofillHints.username],
|
||||||
@ -56,6 +57,7 @@ class LoginView extends StatelessWidget {
|
|||||||
autofillHints:
|
autofillHints:
|
||||||
controller.loading ? null : [AutofillHints.password],
|
controller.loading ? null : [AutofillHints.password],
|
||||||
controller: controller.passwordController,
|
controller: controller.passwordController,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
obscureText: !controller.showPassword,
|
obscureText: !controller.showPassword,
|
||||||
onSubmitted: controller.login,
|
onSubmitted: controller.login,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
Loading…
Reference in New Issue
Block a user