flutter_form_builder
flutter_form_builder copied to clipboard
Auto-filling through a password manager ?
Hello, I am new to Flutter and as such, I have difficulties getting auto-filling through a password manager to work on a simple login page.
My page currently looks like this :
FormBuilder
(
key: _loginFormKey,
child: AutofillGroup
(
key: _loginFormKey,
child: Column
(
children:
[
FormBuilderTextField
(
name: 'field1',
keyboardType: TextInputType.emailAddress,
autofillHints: const <String>[AutofillHints.username],
),
FormBuilderTextField
(
name: 'field2',
keyboardType: TextInputType.visiblePassword,
autofillHints: const <String>[AutofillHints.password],
obscureText: true,
),
],
) // Column
) // AutoFillGroup
), // FormBuilder
Is there some property I missed that is causing auto-fill not to work or is the feature missing from the package ? Should I implement this using a Flutter form from scratch ?
For my tests I used Bitwarden, it was only capable of filling the username field and not the password.
If you have any more questions, please ask.
Good question. Actually, I would have to search which Flutter
component support such feature.
Any updates here? I have the same problem and I don't think @erwangse and me are the only two people who need this feature.