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 f5bafb3
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 @@ -16,6 +16,11 @@ class CompatForm extends Form

protected $defaultAttributes = ['class' => 'icinga-form icinga-controls'];

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

/**
* Render the content of the element to HTML
*
Expand Down

0 comments on commit f5bafb3

Please sign in to comment.