Juny 711
2018-09-06 19:28:09 UTC
Consider this situation where I have a verification code input above my
hidden username / email input field. Smart lock will use the verification
code as username instead of my hidden email field.
It works fine when there is not an active input field above / before the
hidden username field.
Using a hidden username input field is documented here on a Chromium design
document
<https://www.chromium.org/developers/design-documents/form-styles-that-chromium-understands>
.
<style>
#email {
display: none;
}
</style>
<form>
<div>
<label>Verification Code</label>
<input type='text' />
</div>
<div>
<input type='email' autocomplete='username' id='email' />
</div>
<div>
<label>Password</label>
<input type='password' autocomplete='new-password' />
</div>
<input type="submit" value="Verify">
</form>
hidden username / email input field. Smart lock will use the verification
code as username instead of my hidden email field.
It works fine when there is not an active input field above / before the
hidden username field.
Using a hidden username input field is documented here on a Chromium design
document
<https://www.chromium.org/developers/design-documents/form-styles-that-chromium-understands>
.
<style>
#email {
display: none;
}
</style>
<form>
<div>
<label>Verification Code</label>
<input type='text' />
</div>
<div>
<input type='email' autocomplete='username' id='email' />
</div>
<div>
<label>Password</label>
<input type='password' autocomplete='new-password' />
</div>
<input type="submit" value="Verify">
</form>
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.