jackocnr / intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers. React and Vue components also included.
https://intl-tel-input.com
MIT License
7.69k stars 1.95k forks source link

No country data #1876

Open minhluan259 opened 1 week ago

minhluan259 commented 1 week ago

Plugin version

e.g. v24.7.0 (please try latest version)

Expected behaviour

Many countries/sub-countries are not support in the list, so we need an option to allow display Global Flag option in the list, so user can select Global option and add himself phone number validating the number.

https://intl-tel-input.com/examples/country-sync.html In this case, if the user selects a country that is not in the list, the phone number input will show the Global Flag and the user will be able to add the phone number without validating the number instead of getting an error. No country data for 'bv'

Actual behaviour

Users are not able add telephone number if they country is not on the list.