diff --git a/lib/settings/login.dart b/lib/settings/login.dart index 2aa4387..6fc0b63 100644 --- a/lib/settings/login.dart +++ b/lib/settings/login.dart @@ -165,6 +165,7 @@ class _InvenTreeLoginState extends State { // Show fields depending on selected login method if (_method == LoginMethod.credentials) ...[ TextFormField( + key: ValueKey("input-username"), decoration: InputDecoration( labelText: L10().username, labelStyle: TextStyle(fontWeight: FontWeight.bold), @@ -184,6 +185,7 @@ class _InvenTreeLoginState extends State { }, ), TextFormField( + key: ValueKey("input-password"), decoration: InputDecoration( labelText: L10().password, labelStyle: TextStyle(fontWeight: FontWeight.bold), @@ -215,6 +217,7 @@ class _InvenTreeLoginState extends State { ), ] else ...[ TextFormField( + key: ValueKey("input-token"), decoration: InputDecoration( labelText: L10().token, labelStyle: TextStyle(fontWeight: FontWeight.bold),