We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862fdd2 commit 854b528Copy full SHA for 854b528
src/Forms/GridField/GridField.php
@@ -548,7 +548,8 @@ public function FieldHolder($properties = [])
548
if ($session) {
549
$service = Injector::inst()->get(SudoModeServiceInterface::class);
550
if (!$service->check($session)) {
551
- $this->performReadonlyTransformation();
+ $copy = $this->performReadonlyTransformation();
552
+ $this->setConfig($copy->getConfig());
553
$this->setReadonly(true);
554
$this->addSudoModeComponent();
555
$sudoModeTransformation = true;
0 commit comments