By default, now form fields should be shown

Having to click through 2 levels of property settings to make a new form field visible seems a bit much ... or else I have not found the configuration setting for this.
This commit is contained in:
Tobias Oetiker 2016-04-28 11:09:25 +02:00
parent 000b024055
commit 0547a01912
1 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,11 @@ class EditableFormField extends DataObject {
"RightTitle" => "Varchar(255)", // from CustomSettings
"ShowOnLoad" => "Boolean(1)", // from CustomSettings
);
private static $defaults = array(
'ShowOnLoad' => true,
);
/**
* @config