From 55d76fc4c7183a63c14ed7bc890f152034094342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6rner?= Date: Sat, 30 Dec 2023 21:24:21 +0100 Subject: [PATCH] fix issue with twig templates --- src/Form/FormCheckBoxExtended.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Form/FormCheckBoxExtended.php b/src/Form/FormCheckBoxExtended.php index 7de1abb..7a90606 100755 --- a/src/Form/FormCheckBoxExtended.php +++ b/src/Form/FormCheckBoxExtended.php @@ -51,6 +51,7 @@ class FormCheckBoxExtended extends Widget * @var string */ protected $strPrefix = 'widget widget-checkbox widget-extended-checkbox'; + protected $prefix = 'widget widget-checkbox widget-extended-checkbox'; /** * @var array @@ -96,6 +97,11 @@ public function __set($strKey, $varValue): void $this->arrConfiguration['mandatory'] = $varValue ? true : false; break; + case 'prefix': + $this->prefix = $varValue; + $this->strPrefix = $varValue; + break; + default: parent::__set($strKey, $varValue); break;