diff --git a/code/Extension/UserFormFieldEditorExtension.php b/code/Extension/UserFormFieldEditorExtension.php index 38132d0..1ba3c39 100644 --- a/code/Extension/UserFormFieldEditorExtension.php +++ b/code/Extension/UserFormFieldEditorExtension.php @@ -103,7 +103,7 @@ class UserFormFieldEditorExtension extends DataExtension new GridFieldDeleteAction(), new GridFieldToolbarHeader(), new GridFieldOrderableRows('Sort'), - new GridFieldDetailForm() + new GridFieldDetailForm(null, false, false) ); $editButton->removeExtraClass('grid-field__icon-action--hidden-on-hover'); diff --git a/code/UserForm.php b/code/UserForm.php index af2a57e..89bcf0d 100644 --- a/code/UserForm.php +++ b/code/UserForm.php @@ -258,7 +258,7 @@ SQL; $config->addComponent(new GridFieldDeleteAction()); $config->addComponent(new GridFieldPageCount('toolbar-header-right')); $config->addComponent($pagination = new GridFieldPaginator(25)); - $config->addComponent(new GridFieldDetailForm()); + $config->addComponent(new GridFieldDetailForm(null, null, false)); $config->addComponent(new GridFieldButtonRow('after')); $config->addComponent($export = new GridFieldExportButton('buttons-after-left')); $config->addComponent($print = new GridFieldPrintButton('buttons-after-left'));