-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Hi,
I couldn't find it in the docs: How do I display the country code and identification in the drop down when choosing a widget 'country_choice' ?
I know this could be changed in the Misd\PhoneNumberBundle\Form\Type\PhoneNumberType at line 68 as follow:
foreach (Intl::getRegionBundle()->getCountryNames() as $region => $name) {
if (false === isset($countries[$region])) {
continue;
}
$countryChoices[sprintf('%s (+%s)', $region, $countries[$region])] = $region;
}But I was wondering if there isn't a cleaner way to do this
~thoroc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels