mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
e7619feadb
commit
750e81b7cf
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user