mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Remove empty column in display logic GridField for form field
This commit is contained in:
parent
2ef5643f39
commit
ca1e2abd83
@ -309,10 +309,7 @@ class EditableFormField extends DataObject
|
|||||||
},
|
},
|
||||||
'FieldValue' => function ($record, $column, $grid) {
|
'FieldValue' => function ($record, $column, $grid) {
|
||||||
return TextField::create($column);
|
return TextField::create($column);
|
||||||
},
|
}
|
||||||
'ParentID' => function ($record, $column, $grid) use ($self) {
|
|
||||||
return HiddenField::create($column, '', $self->ID);
|
|
||||||
},
|
|
||||||
));
|
));
|
||||||
|
|
||||||
// Custom rules
|
// Custom rules
|
||||||
|
Loading…
Reference in New Issue
Block a user