webcat12345 / ngx-intl-tel-input

Phone number input field to support international numbers, Angular
MIT License
213 stars 335 forks source link

Setting selected country as "dm" means CountryISO.Dominica, #341

Open rs071196 opened 3 years ago

rs071196 commented 3 years ago

Setting selected country as "dm" means CountryISO.Dominica, after entering in input field, flag chan ges to american flag and american dial-code appears on the screen, there are some other countryISO also exist which populate the same issues.

arup872 commented 3 years ago

@rs071196

In google-libphonenumber npm package

path :- /node_modules/google-libphonenumber/dist/libphonenumber.js

Replace the file libphonenumber.js from given below file.

libphonenumber.zip

pasevin commented 3 years ago

@arup872 do you know what's causing it? Maybe could do a PR?