natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

Get ISO2Code from phone number string #372

Open alexviquez opened 1 year ago

alexviquez commented 1 year ago

Instaed of passing just the prefix, you can pass the whole phone number to extract the ISOCode, this helps in case you just want to know the isocode and then build the PhoneNumber from string or get the dial code