cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Phone number gets misformatted when pasted in to new address field on order confirmation page

The phone number field has a bug where it alters the number being pasted.

 

Observed on Ebay UK using Chrome browser.

 

See gif of copying a number with a leading 7, pasting in to the phone number box, and a 7 being appended to the end:

ebay-phone-number-bug.gif

 Steps to reproduce:

  • Copy number such as `7999 999999`
  • Go to order confirmation / purchase page
  • Choose to add a new address
  • Paste number in to phone number box
  • Observe that 7 is added to the end.

Note - the above formatting is what you get with Apple contacts formatting - where the full number may be +44 7xxx xxxxxx. If a user copies the latter two sets of digits (as the country aspect is already covered by the UI), then pasting them will show the incorrect number. If you delete the last digit, then the number reformats.

 

I might guess there's some fancy js attempting to reformat the number for display - but where it's trying to remove a leading 0 digit from the start, if inadvertently copies the leading digit to the end.

Message 1 of 1
latest reply
0 REPLIES 0