mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #464 from oetiker/patch-1
By default, new form fields should be visible
This commit is contained in:
commit
55021c5439
@ -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