Skip to content

Commit

Permalink
Merge pull request #12 from koertho/2.0
Browse files Browse the repository at this point in the history
Fix issue with missing form row classes
  • Loading branch information
christianbarkowsky authored Feb 20, 2024
2 parents 839d412 + 55d76fc commit 6ee345a
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 6ee345a

Please sign in to comment.