Closed sciotta closed 1 month ago
Yes I agree this is inconsistent and not ideal. We use libphonenumber for generating (and formatting) the placeholder numbers, as well as for the as-you-type formatting. Here you can see the libphonenumber output for that phone number - the national formatting is "(11) 96123-4567" but annoyingly the as-you-type formatter seems to return it in international format: "11 96123-4567". You're welcome to file an issue with libphonenumber if you want. Ideally, the as-you-type formatter would have a way of specifying which format you want. I'll close this issue for now, as there's nothing we can do until they change it upstream.
Plugin version
v23.0.7
Steps to reproduce
Expected behaviour
Number must be formatted like "(12) 93618-0822"
Actual behaviour
Number formated as "12 93618-0822"
Initialisation options
strictMode: true formatAsYouType: true nationalMode: true *I tried otherwise too