From ca1e2abd833001d40bc2a32b55914e6670416601 Mon Sep 17 00:00:00 2001 From: Sacha Judd Date: Wed, 24 May 2017 13:46:54 +1200 Subject: [PATCH] FIX Remove empty column in display logic GridField for form field --- code/model/editableformfields/EditableFormField.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/model/editableformfields/EditableFormField.php b/code/model/editableformfields/EditableFormField.php index 20b32fc..500170c 100755 --- a/code/model/editableformfields/EditableFormField.php +++ b/code/model/editableformfields/EditableFormField.php @@ -309,10 +309,7 @@ class EditableFormField extends DataObject }, 'FieldValue' => function ($record, $column, $grid) { return TextField::create($column); - }, - 'ParentID' => function ($record, $column, $grid) use ($self) { - return HiddenField::create($column, '', $self->ID); - }, + } )); // Custom rules