mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Update FieldEditor.php
The EditableMultipleOptionField is being exposed in the form builder, when it is added to the form the page dies! It needs to be excluded.
This commit is contained in:
parent
a9b49e0165
commit
19afd18c26
@ -127,7 +127,7 @@ class FieldEditor extends FormField {
|
|||||||
$title
|
$title
|
||||||
);
|
);
|
||||||
|
|
||||||
if($niceTitle) {
|
if($niceTitle && $field != "EditableMultipleOptionField") {
|
||||||
$output->push(new ArrayData(array(
|
$output->push(new ArrayData(array(
|
||||||
'ClassName' => $field,
|
'ClassName' => $field,
|
||||||
'Title' => "$niceTitle"
|
'Title' => "$niceTitle"
|
||||||
|
Loading…
Reference in New Issue
Block a user