Skip to content

Commit 0b710fe

Browse files
authored
Merge pull request #963 from GhostInTheNN/fix/password-autofill-hint
Fix: Add autofillHints to password field for Android autofill support
2 parents 08a22e5 + e0228d5 commit 0b710fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widgets/auth/password_field.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class _PasswordFieldState extends State<PasswordField> {
2222
Widget build(BuildContext context) {
2323
return TextFormField(
2424
key: const Key('inputPassword'),
25+
autofillHints: const [AutofillHints.password],
2526
decoration: InputDecoration(
2627
labelText: AppLocalizations.of(context).password,
2728
prefixIcon: const Icon(Icons.password),

0 commit comments

Comments
 (0)