New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 838537 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

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.
 
Components: Blink>Forms
Labels: Needs-Triage-M66

Comment 3 by tkent@chromium.org, May 2 2018

Components: -Blink>Forms UI>Browser>Autofill
Cc: krajshree@chromium.org
Labels: Needs-Feedback Triaged-ET
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...!!
838537.webm
4.1 MB View Download
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.
Screencast_02-05-18_17:41:51.webm
1.3 MB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, May 2 2018

Labels: -Needs-Feedback
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

Comment 7 by se...@chromium.org, May 2 2018

Cc: se...@chromium.org
Owner: parastoog@chromium.org
Status: Assigned (was: Unconfirmed)
Parastoo, can you please take a look when you get the chance? Thanks!
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