Repository navigation
Description
Steps to reproduce
Despite already setting up the AutofillGroup and AutfillHints, flutter web app on mobile devices chrome browser does not autofill correctly.
On Android mobile device, raised chrome password manager modal does not autofill the fields. Had to rely on the raised keyboard suggestion to work.
On iPadOS & iOS devices, raised chrome password manager modal does not autofill the fields. Subsequent selection of the username password fields result in infinite loop of failed autofill attempts.
On my Macbook Pro M3 Pro Chrome browser, the chrome password manager works fine in autofilling.
Windows laptop chrome browser also have issue with autofilling with chrome password manager.
Other things that I have tried, using apple/nordpass password manager works fine on iPad/iOS devices chrome browser. I have already enabled autofill services on my Android and Apple device settings.
Expected results
Clicking on the username/password field triggers a modal for user to select the credential record. Afterwards, the username/email + password field is autofilled successfully.
Actual results
After selecting the credential from the chrome password manager modal, the username and password field is still blank. Selecting the fields again on apple devices result in an infinite loop of raised password manager modal to failed autofill. On Android devices, selecting the credential from chrome password manager modal did not fill in the fields. On selecting the fields again, the chrome password manager option in the raised keyboard was able to autofill the fields.
Code sample
import 'package:flutter/material.dart';
class LoginPage extends StatefulWidget {
const LoginPage({super.key});
@OverRide
State createState() => _LoginPageState();
}
class _LoginPageState extends State {
final TextEditingController _userNameController = TextEditingController();
final TextEditingController _passwordController = TextEditingController();
@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SizedBox(
width: 250,
child: AutofillGroup(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
spacing: 16,
children: [
TextField(
controller: _userNameController,
autofillHints: [AutofillHints.username],
decoration: InputDecoration(labelText: 'Username'),
),
TextField(
controller: _passwordController,
autofillHints: [AutofillHints.password],
decoration: InputDecoration(labelText: 'Password'),
obscureText: true,
),
ElevatedButton(
onPressed: () {
debugPrint("${_emailController.text} ${_passwordController.text}");
},
child: Text("Login"),
)
],
),
),
),
),
);
}
}
Screenshots or Video
iPad Mini A17 • iPad OS 26.3.1 • Chrome Browser v147.0.7727.49
https://github.com/user-attachments/assets/7693a523-3016-4d94-887f-c2e8b1867b19
Android Mobile Device • ColorOS 16.0.3 (Android 16) • Chrome Browser v147.0.7727.27
https://github.com/user-attachments/assets/1067002f-3954-4137-8d51-ce0b1ccec398
Logs
Logs
[Paste your logs here]Flutter Doctor output
[✓] Flutter (Channel stable, 3.41.6, on macOS 15.7.3 24G419 darwin-arm64, locale en-US) [1,931ms]
• Flutter version 3.41.6 on channel stable at /Users/jonaslim/fvm/versions/3.41.6
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db50e20 (4 weeks ago), 2026-03-25 16:21:00 -0700
• Engine revision 425cfb5
• Dart version 3.11.4
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [6.4s]
• Android SDK at /Users/jonaslim/Library/Android/sdk
• Emulator version 34.2.16.0 (build_id 12038310) (CL:N/A)
• Platform android-36, build-tools 35.0.0
• ANDROID_HOME = /Users/jonaslim/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 26.2) [3.9s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C52
! CocoaPods 1.15.2 out of date (1.16.2 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web [9ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (2 available) [6.5s]
• macOS (desktop) • macos • darwin-arm64 • macOS 15.7.3 24G419 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 147.0.7727.56
[✓] Network resources [1,560ms]
• All expected network resources are available.
Activity
puneetkukreja98 commentedon Apr 21, 2026
@jonaslinhx Thanks for reporting the issue. Could you please confirm whether your issue is the same as this #174773 one?
Similar issues:
#162066
#137760
jonaslinhx commentedon Apr 22, 2026
@puneetkukreja98 Thanks for triaging.
I've seen those issues before. They all have a similarity in the fact that using AutoFillGroup and AutoFillHints was not able to get password managers on flutter web. However, there seems to be some difference in terms of the context which the issue was raised, such as device operating system & password manager.
#174773 is in context of BitWarden and Proton Pass.
#162066 is in context of Windows.
#137760 is in context of Mobile Android.
I guess my issue raised added more details.
Specifically for Chrome Password Manager:
• On Mac Chrome, it works but fails on Windows Chrome.
• For mobile device, iOS/iPadOS/Android Chrome all encounter this issue.
Istiak-Ahmed78 commentedon Apr 22, 2026
I found a PR (#184673) that tracks a similar issue (#162066) and is currently under review.
6 remaining items
puneetkukreja98 commentedon Apr 22, 2026
Routing this to team-web for further investigation.
Impacted platforms: Android, iOS, and Windows.
The user also mentioned that the issue works fine on macOS using Chrome, which suggests this may be specific to certain platforms/environments.
mdebbar commentedon Apr 22, 2026
At least on iOS, there was a recent PR that fixed some autofill issues: #182024
@jonaslinhx would you mind testing with the master channel of Flutter to see if the issue is fixed for iOS?
jonaslinhx commentedon Apr 24, 2026
@mdebbar
Built on
[✓] Flutter (Channel master, 3.44.0-1.0.pre-238, on macOS 15.7.3 24G419 darwin-arm64, locale en-US) [3.1s]
• Flutter version 3.44.0-1.0.pre-238 on channel master at /Users/jonaslim/fvm/versions/master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision aeb9623 (3 hours ago), 2026-04-25 02:01:03 +1200
• Engine revision aeb9623
• Dart version 3.13.0 (build 3.13.0-59.0.dev)
• DevTools version 2.57.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration, enable-riscv64
Tested on
Both had the same result. The google password manager modal popup did not work.
[web] Fix grouped autofill on iOS Chrome (flutter#187459)
jonaslinhx commentedon Jul 17, 2026
On hindsight now, this issue ticket raised is actually talking about 2 issues pertaining to Flutter Web on Mobile Chrome/Safari browsers:
flutter#187459 has fixed the 1st issue.
I've validated it's resolved on stable Flutter 3.44.6 on iPadOS and iOS.
However, the 2nd issue still persists. The chrome password manager is referring to the image in #185327 (comment)
[web] Autofill all AutofillGroup fields in semantics mode (flutter#18…
github-actions commentedon Jul 31, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.