html5 auto format for tel causes inconsistent results

Confirmed Issue #12216932 • Assigned to Travis L.


Ross H.
Jun 2, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

in this example the value isnt a number but Edge trys to format it as a telephone number and ignores the entire string length
<span>Customer account 205-COL-000015 </span>
this will result in 205-COL-0000 being underlined but not the 15

if I have multiple values
<span>Customer account 205-COL-000015 701-281-1111</span>
it will attempt to format the first set of numbers but not the second.

So why does it try to format only part of 205-COL-000015? That seems like the bug

Shouldn’t it only attempt to format something that is a 7 digit phone number for the us , since my local is EN

I understand trying to parse phone numbers, but if there is a character at the start or end of a pattern match, seems you should not attempt to format as you cant ensure it is really a number.

We don’t want to disable this feature because when it works, it works well…


0 attachments

    Comments and activity

    • funny - just look at this bug description in Edge and you will see the issue

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Grisha L.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in