mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #9 from icecaster/patch-1
ENHANCEMENT: use CountryDropDownField instead of DropdownField
This commit is contained in:
commit
c957af1c29
@ -12,7 +12,7 @@ class EditableCountryDropdownField extends EditableFormField {
|
||||
static $plural_name = 'Country Dropdowns';
|
||||
|
||||
public function getFormField() {
|
||||
return new DropdownField($this->Name, $this->Title, Geoip::getCountryDropDown());
|
||||
return new CountryDropdownField($this->Name, $this->Title);
|
||||
}
|
||||
|
||||
public function getValueFromData($data) {
|
||||
|
Loading…
Reference in New Issue
Block a user