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;