Problem/Motivation
Currently the module supports excludeCountriesoption which takes list of countries to hide however, in many cases user may need to show only few countries and hide all others, the JS library already has onlyCountries option to support this, just need to add implementation in Drupal.
Proposed resolution
Add a checkbox for negate this condition with exclude countries list and when that checkbox is clicked use onlyCountries option instead of excludeCountries
Remaining tasks
- Add checkbox in edit field settings.
- Update implementation in JS file to use
onlyCountrieswhen checkbox is selected. - Write tests.
Issue fork phone_international-3279207
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
shriaasComment #5
shriaasComment #7
saidatomComment #9
saidatom