ngx-intl-tel-input
ngx-intl-tel-input copied to clipboard
Uruguay flag on US +1 code
This is two problems in one:
- a phone number from Canada is being classified as a US number.
- the Uruguay flag is displayed instead of the US flag.
intl-tel-input: 17.0.19 How it's being used:
phoneInput = intlTelInput(input, {
initialCountry: "BR",
utilsScript: intlTelInputUtils,
geoIpLookup: (success, _failure) => {
$.get("https://ipinfo.io", () => {}, "jsonp").always((resp) => {
let countryCode = (resp && resp.country) ? resp.country : "BR";
success(countryCode);
});
},
enableAutoCountrySelect: true
});