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

View File

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