Skip to content

Commit

Permalink
fix issue with twig templates
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Dec 30, 2023
1 parent 839d412 commit 55d76fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Form/FormCheckBoxExtended.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 55d76fc

Please sign in to comment.