Merge pull request #599 from silverstripe/bugfix/empty-column-gridfield

Remove empty column in display logic GridField for form field
This commit is contained in:
Robbie Averill 2017-05-24 16:08:18 +12:00 committed by GitHub
commit 5777b33f37

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