From 13c639654ad7cfcbbdf397ce2ef5e37a6e22a982 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Thu, 24 Mar 2022 21:17:52 +0100 Subject: [PATCH] fix: login form supports switching fields via tab --- lib/pages/login/login_view.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages/login/login_view.dart b/lib/pages/login/login_view.dart index 54b21dee..affd8323 100644 --- a/lib/pages/login/login_view.dart +++ b/lib/pages/login/login_view.dart @@ -38,6 +38,7 @@ class LoginView extends StatelessWidget { autofocus: true, onChanged: controller.checkWellKnownWithCoolDown, controller: controller.usernameController, + textInputAction: TextInputAction.next, keyboardType: TextInputType.emailAddress, autofillHints: controller.loading ? null : [AutofillHints.username], @@ -56,6 +57,7 @@ class LoginView extends StatelessWidget { autofillHints: controller.loading ? null : [AutofillHints.password], controller: controller.passwordController, + textInputAction: TextInputAction.next, obscureText: !controller.showPassword, onSubmitted: controller.login, decoration: InputDecoration(