From 0547a0191201d203411d52c15ab1b5243283825d Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Thu, 28 Apr 2016 11:09:25 +0200 Subject: [PATCH] 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. --- code/model/editableformfields/EditableFormField.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/model/editableformfields/EditableFormField.php b/code/model/editableformfields/EditableFormField.php index 1f37ed7..f3faf13 100755 --- a/code/model/editableformfields/EditableFormField.php +++ b/code/model/editableformfields/EditableFormField.php @@ -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