mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #943 from creative-commoners/pulls/5.0/revert-default-value
Revert default value
This commit is contained in:
commit
c58565e6ce
@ -107,6 +107,7 @@ trait UserForm
|
|||||||
* @var array Default values of variables when this page is created
|
* @var array Default values of variables when this page is created
|
||||||
*/
|
*/
|
||||||
private static $defaults = [
|
private static $defaults = [
|
||||||
|
'Content' => '$UserDefinedForm',
|
||||||
'DisableSaveSubmissions' => 0,
|
'DisableSaveSubmissions' => 0,
|
||||||
'OnCompleteMessage' => '<p>Thanks, we\'ve received your submission.</p>'
|
'OnCompleteMessage' => '<p>Thanks, we\'ve received your submission.</p>'
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user