diff --git a/code/Model/EditableFormField/EditableMemberListField.php b/code/Model/EditableFormField/EditableMemberListField.php index bee9063..1bde43f 100644 --- a/code/Model/EditableFormField/EditableMemberListField.php +++ b/code/Model/EditableFormField/EditableMemberListField.php @@ -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'); diff --git a/code/UserForm.php b/code/UserForm.php index f0e868e..af2a57e 100644 --- a/code/UserForm.php +++ b/code/UserForm.php @@ -196,7 +196,7 @@ trait UserForm $editor = HTMLEditorField::create( 'OnCompleteMessage', '', - _t(__CLASS__.'.ONCOMPLETEMESSAGE', $this->OnCompleteMessage) + $this->OnCompleteMessage ) );