From ee6767d44a8149f7d9e191941e8f79aeeb2e7f84 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 24 May 2023 11:14:19 +0200 Subject: [PATCH] wip #5944 @0.5 --- src/app/Magic/Fields/Field.php | 4 ++++ 1 file changed, 4 insertions(+) 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',''); } } -- 2.39.5