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:
mikeyc7m 2014-01-31 09:37:09 +11:00
parent a9b49e0165
commit 19afd18c26

View File

@ -127,7 +127,7 @@ class FieldEditor extends FormField {
$title
);
if($niceTitle) {
if($niceTitle && $field != "EditableMultipleOptionField") {
$output->push(new ArrayData(array(
'ClassName' => $field,
'Title' => "$niceTitle"