mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge branch '5.1'
This commit is contained in:
commit
bf086806dc
@ -54,6 +54,7 @@ class EditableMemberListField extends EditableFormField
|
|||||||
}
|
}
|
||||||
|
|
||||||
$members = Member::map_in_groups($this->GroupID);
|
$members = Member::map_in_groups($this->GroupID);
|
||||||
|
|
||||||
$field = DropdownField::create($this->Name, $this->Title ?: false, $members)
|
$field = DropdownField::create($this->Name, $this->Title ?: false, $members)
|
||||||
->setTemplate(EditableDropdown::class)
|
->setTemplate(EditableDropdown::class)
|
||||||
->setFieldHolderTemplate(EditableFormField::class . '_holder');
|
->setFieldHolderTemplate(EditableFormField::class . '_holder');
|
||||||
|
@ -196,7 +196,7 @@ trait UserForm
|
|||||||
$editor = HTMLEditorField::create(
|
$editor = HTMLEditorField::create(
|
||||||
'OnCompleteMessage',
|
'OnCompleteMessage',
|
||||||
'',
|
'',
|
||||||
_t(__CLASS__.'.ONCOMPLETEMESSAGE', $this->OnCompleteMessage)
|
$this->OnCompleteMessage
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user