mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Disable the 'Submitted by' dropdown in form submissions view
This commit is contained in:
parent
96fb8edd66
commit
99ac1a3e20
@ -52,6 +52,7 @@ class SubmittedForm extends DataObject {
|
||||
public function getCMSFields() {
|
||||
$fields = parent::getCMSFields();
|
||||
$fields->removeByName('Values');
|
||||
$fields->dataFieldByName('SubmittedByID')->setDisabled(true);
|
||||
|
||||
$values = new GridField(
|
||||
"Values",
|
||||
|
Loading…
Reference in New Issue
Block a user