FIX Remove empty column in display logic GridField for form field

This commit is contained in:
Sacha Judd 2017-05-24 13:46:54 +12:00
parent 2ef5643f39
commit ca1e2abd83

View File

@ -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