mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #2660 from icecaster/patch-1
Scaffolded Enum Search fields dont offer a null selection
This commit is contained in:
commit
305fea8163
@ -116,7 +116,7 @@ class Enum extends StringField {
|
||||
*/
|
||||
public function scaffoldSearchField($title = null) {
|
||||
$anyText = _t('Enum.ANY', 'Any');
|
||||
return $this->formField($title, null, false, '', null, "($anyText)");
|
||||
return $this->formField($title, null, true, '', null, "($anyText)");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user