-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Add country code selection to phone numbers, similar to https://intl-tel-input.com/examples/separate-dial-code.html.
Since communication channel fields are handled by the multi-text field, that could implement a type="phone-intl" that would optionally enable this UI.
Based on how I've implemented this in a previous project, two NPM libraries could be useful to do this:
- country-list-with-dial-code-and-flag - flag icons and country dial codes for every country
- i18n-iso-countries - Localized name of every country
Alternately, could try to use the intl-tel-input package above directly by including it in the component.
Copilot