mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX: scaffolded search field null selection by default
Enum search fields should default to having an empty string set
This commit is contained in:
parent
dbf0514837
commit
2e369ecc53
@ -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