I have created a login form in flutter web, when I login, chrome detects the password that was entered, but offers only to save the password, while the username stays blank.
Google suggests the following HTML form so that credential manager can detect the credentials that needs to be stored.
<form id="signup" method="post">
<input name="email" type="text" autocomplete="username email">
<input name="display-name" type="text" autocomplete="name">
<input name="password" type="password" autocomplete="new-password">
<input type="submit" value="Sign Up!">
</form>
In my form I used both email and username but chrome credential manager is still not able to detect the username.
How can we create the form with autocomplete tag in flutter web?