Skip to content

Commit

Permalink
CompatForm: Register form element namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Mar 21, 2023
1 parent 1641f06 commit e2a835c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Compat/CompatForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public function renderContent(): string
return parent::renderContent();
}

public function __construct()
{
$this->addPluginLoader('element', 'ipl\\Web\\FormElement', 'Element');
}

public function hasDefaultElementDecorator()
{
if (parent::hasDefaultElementDecorator()) {
Expand Down

0 comments on commit e2a835c

Please sign in to comment.