ngx-international-phone-number
ngx-international-phone-number copied to clipboard
Canada and US number Confusion
Hello,
I am using Angular 4 and I implemented this plugin in my project. My issue is when I am retrieving a Canadian mobile number the flag is set to US flag.
Thanks,
any update on this issue??
canada and us share the same country code
@nikhiln Yes, these countries has the same country code. But that's wrong behavior, when I manually select "Canada" and then type phone number and flag are updated to US. The flag shouldn't be changed in this case. Only in case if I provide another country code. Please, fix this issue, because this is a critical bug. Thanks
hi any updates on this?
@nikhiln You can externally install 'libphonenumber-js' and you can parse your number, so there you will get your country initial that you can pass , Your canada and us issue can be resolved, i did same way
This might have been fixed by https://github.com/esoyke/ngx-international-phone-number2