libPhoneNumber-iOS icon indicating copy to clipboard operation
libPhoneNumber-iOS copied to clipboard

NBAsYouTypeFormatter format US number incorrectly

Open subheesh2 opened this issue 2 years ago • 0 comments

As per https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html, NBAsYouTypeFormatter with US as default region should format the number 17327321233 to 1 (732) 732-1233 as we type. But it format the value to 1 732-732-1233 as we type, which is wrong.

Can you please look into this?

Thanks!

subheesh2 avatar Dec 13 '23 18:12 subheesh2