- π©πͺGermany markdc Hamburg
#4 applies to Address 8.x-1.11 but I'm having trouble.
The Basic Address field shows no limitation options.
The Advanced Address field does. However trying to save the field results in this error:Warning: Undefined array key "#preferred_countries" in _webform_entity_element_validate_rendering_error_handler() (line 1076 of /var/www/vhosts/quadroworld.com/drupal_stage/web/modules/contrib/webform/webform.module)
- π¬π§United Kingdom dahousecat
Passing the preferredCountries to intlTelInput only works if countrySearch is turned off.
This is documented on this page under the preferredCountries section.This is a simple 1 line change in js/webform.element.telephone.js to disable countrySearch when preferred countries are set.
I've attached a patch which is against 6.1.x.
- π¨π¦Canada Liam Morland Ontario, CA π¨π¦
6.1.x is not supported. Is this still an issue on 6.2.x? If so, the patch needs to be against that branch.