mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: by default show the field
This commit is contained in:
parent
79621b6c7f
commit
504623d940
@ -73,7 +73,7 @@ class EditableFormField extends DataObject {
|
||||
}
|
||||
|
||||
function ShowOnLoad() {
|
||||
return ($this->getSetting('ShowOnLoad') == "Show") ? true : false;
|
||||
return ($this->getSetting('ShowOnLoad') == "Show" || $this->getSetting('ShowOnLoad') == '') ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user