Remove GroupedDropdownField::validate() (regression)

Regression caused by 41ea83b337,
which introduced field validation in the parent class without
also adapting this subclass.

Fixing the immediate issue (can't save this field type),
as a first step to the actual fix (implementing validate).

See https://github.com/silverstripe/silverstripe-translatable/issues/179
This commit is contained in:
Ingo Schommer 2015-02-21 16:15:03 +13:00
parent e7619feadb
commit 750e81b7cf

View File

@ -88,5 +88,12 @@ class GroupedDropdownField extends DropdownField {
return 'groupeddropdown dropdown';
}
/**
* @todo Implement DropdownField::validate() with group validation support
*/
public function validate(Validator $validator) {
return true;
}
}