Skip to content

Commit

Permalink
FIX Remove empty column in display logic GridField for form field
Browse files Browse the repository at this point in the history
  • Loading branch information
sachajudd committed May 24, 2017
1 parent 2ef5643 commit ca1e2ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/model/editableformfields/EditableFormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,7 @@ protected function getDisplayRuleFields()
},
'FieldValue' => function ($record, $column, $grid) {
return TextField::create($column);
},
'ParentID' => function ($record, $column, $grid) use ($self) {
return HiddenField::create($column, '', $self->ID);
},
}
));

// Custom rules
Expand Down

0 comments on commit ca1e2ab

Please sign in to comment.