CrmUi - Fix crmSelect2 to work with ngOptions
[civicrm-core.git] / settings / Map.setting.php
index 5dee60b77733e4f9e5352a4ddd73e0dbd1e51876..cf6af9b7acd487249a159746e5e277250ceb4fb5 100644 (file)
@@ -52,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.'),