mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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:
commit
5777b33f37
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user