mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 12:37:56 +00:00
Add autovalidate mode to LoginForm
Set autovalidate mode to onUserInteraction in the LoginForm widget to improve user experience.
This commit is contained in:
@@ -18,6 +18,7 @@ class LoginForm extends StatelessWidget {
|
||||
builder: (context, state) {
|
||||
return Form(
|
||||
key: formKey,
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Reference in New Issue
Block a user