$map = CRM_Core_SelectValues::mapProvider();
$geo = CRM_Core_SelectValues::geoProvider();
- $this->addElement('select', 'mapProvider', ts('Mapping Provider'), array('' => '- select -') + $map, array('onChange' => 'showHideMapAPIkey( this.value );'));
+ $this->addElement('select', 'mapProvider', ts('Mapping Provider'), array('' => '- select -') + $map, array('class' => 'crm-select2'));
$this->add('text', 'mapAPIKey', ts('Map Provider Key'), NULL);
- $this->addElement('select', 'geoProvider', ts('Geocoding Provider'), array('' => '- select -') + $geo);
+ $this->addElement('select', 'geoProvider', ts('Geocoding Provider'), array('' => '- select -') + $geo, array('class' => 'crm-select2'));
$this->add('text', 'geoAPIKey', ts('Geo Provider Key'), NULL);
parent::buildQuickForm();