diff --git a/src/GridFieldAddNewInlineButton.php b/src/GridFieldAddNewInlineButton.php index 840073b..519519b 100755 --- a/src/GridFieldAddNewInlineButton.php +++ b/src/GridFieldAddNewInlineButton.php @@ -135,6 +135,9 @@ private function getRowTemplate(GridField $grid, GridFieldEditableColumns $edita $field->getName() )); + if ($record && $record->hasField($column)) { + $field->setValue($record->getField($column)); + } $content = $field->Field(); } else { $content = $grid->getColumnContent($record, $column);