mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Correcting issue #439, where date pickers were no longer functioning.
This commit is contained in:
parent
dde5eaa743
commit
cbe47268fc
@ -21,8 +21,10 @@ class UserForm extends Form {
|
||||
new FieldList()
|
||||
);
|
||||
|
||||
$this->setFields($this->getFormFields());
|
||||
$this->setActions($this->getFormActions());
|
||||
$this->setFields($fields = $this->getFormFields());
|
||||
$fields->setForm($this);
|
||||
$this->setActions($actions = $this->getFormActions());
|
||||
$actions->setForm($this);
|
||||
$this->setValidator($this->getRequiredFields());
|
||||
|
||||
// Number each page
|
||||
|
Loading…
Reference in New Issue
Block a user