mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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:
parent
000b024055
commit
0547a01912
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user