When creating a TextField underneath a GridField there is no space between, see below;
Edit: just to add - only an issue when there are no records and the pagination summary row isn't visible
Steps to Reproduce
public function getCMSFields()
{
$this->beforeUpdateCMSFields(function (FieldList $fields) {
$fields->addFieldsToTab('Root.Main', [
new TextField('FieldAbove'),
new GridField(
'Sections',
'Sections',
$this->Sections(),
new GridFieldConfig_RelationEditor()
),
new TextField('FieldBelow'),
]);
});
return parent::getCMSFields();
}
Affected Version
Running SilverStripe 4.4.1
Description
When creating a
TextField
underneath aGridField
there is no space between, see below;Edit: just to add - only an issue when there are no records and the pagination summary row isn't visible
Steps to Reproduce
PR