CrmUi - Fix crmSelect2 to work with ngOptions
[civicrm-core.git] / settings / Map.setting.php
index dd474c53cdb2913d3042ddc82bb29eaa6e25b676..cf6af9b7acd487249a159746e5e277250ceb4fb5 100644 (file)
@@ -13,8 +13,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  * Settings metadata file
  */
 return [
@@ -54,6 +52,9 @@ return [
     'pseudoconstant' => [
       'callback' => 'CRM_Core_SelectValues::geoProvider',
     ],
+    'on_change' => [
+      'CRM_Utils_GeocodeProvider::reset',
+    ],
     'default' => NULL,
     'title' => ts('Geocoding Provider'),
     'description' => ts('This can be the same or different from the mapping provider selected.'),