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