From: Vincent Vanwaelscappel Date: Wed, 24 May 2023 09:14:19 +0000 (+0200) Subject: wip #5944 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ee6767d44a8149f7d9e191941e8f79aeeb2e7f84;p=cubist_cms-back.git wip #5944 @0.5 --- diff --git a/src/app/Magic/Fields/Field.php b/src/app/Magic/Fields/Field.php index 8f9837a..b46ef69 100644 --- a/src/app/Magic/Fields/Field.php +++ b/src/app/Magic/Fields/Field.php @@ -418,6 +418,8 @@ class Field implements \ArrayAccess $this->setAttribute('auth', false); $this->setAttribute('type', 'noteditable'); $this->setAttribute('view_namespace', CubistBackpackServiceProvider::NAMESPACE . '::fields'); + $this->setAttribute('tab',null); + $this->setAttribute('label',''); } } else if (null !== $this->getAttribute('can_hidden', null)) { if (!self::can($this->getAttribute('can_hidden'))) { @@ -427,6 +429,8 @@ class Field implements \ArrayAccess $this->setAttribute('auth', false); $this->setAttribute('type', 'authhidden'); $this->setAttribute('view_namespace', CubistBackpackServiceProvider::NAMESPACE . '::fields'); + $this->setAttribute('tab',null); + $this->setAttribute('label',''); } }