mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00: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() {
|
function ShowOnLoad() {
|
||||||
return ($this->getSetting('ShowOnLoad') == "Show") ? true : false;
|
return ($this->getSetting('ShowOnLoad') == "Show" || $this->getSetting('ShowOnLoad') == '') ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user