Input with autocomplete="tel" is not properly recognized
Reported by
remcohas...@gmail.com,
May 1 2018
|
||||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Steps to reproduce the problem:
Given the following html:
<!doctype html>
<html>
<form>
<input autocomplete="name" name="name">
<input type="email" autocomplete="email" name="email">
<input type="tel" autocomplete="tel" name="phone">
</form>
</html>
If either the name or the email input is removed, the tel autocomplete is wrong.
What is the expected behavior?
The phone number is autocompleted using the full phone number.
What went wrong?
Chrome logs that the autocomplete element is missing on the tel input, and behaves as if the autocomplete value is "tel-national".
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 66.0.3359.139 Channel: stable
OS Version:
Flash Version:
I first posted this on https://productforums.google.com/forum/#!topic/chrome/E7yYEEx_qEo
Also this was reproduced on Android as well.
,
May 1 2018
,
May 2 2018
,
May 2 2018
Unable to reproduce the issue on ubuntu 17.10 using chrome reported version #66.0.3359.139 and latest dev #68.0.3409.2. Attached a screen cast for reference. Following are the steps followed to reproduce the issue. ------------ 1. Opened the attached autocomplete html file in chrome. 2. Observed that the phone number is autocompleted using the full phone number as expected. remcohaszing@ - Could you please check the issue on latest dev #68.0.3409.2 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not. Also please check the attached screen cast and please let us know if anything missed from our end. Thanks...!!
,
May 2 2018
I added a screencast to show the behaviour using Chrome unstable. It seems to behave a bit different from my description. 1. When the full example form is used, the tel input is autocompleted as if it has the autocomplete attribute set to "tel-national" instead of "tel" 2. When the name input is removed, the tel input is autocompleted correctly. 3. When the email input is removed, autocomplete appears to be broken entirely. See https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-tel for details. I was unable to reproduce the console warning at this time. I am still managing to reproduce this in a more complex React app though.
,
May 2 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 2 2018
Parastoo, can you please take a look when you get the chance? Thanks!
,
Oct 25
Same issue here. Also if change `name` from "phone" to "tel" autocomplete starts working correct (Google Chrome 70.0.3538.67) |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by dtapu...@chromium.org
, May 1 2018