IcingaObjectFieldLoader: attach fields to form...
...before adding them to a display group. Many thanks to Marc DeTrano for troubleshooting this tricky issue. fixes #13279
This commit is contained in:
parent
1dc0aad828
commit
d2adc1b4ec
|
@ -151,6 +151,9 @@ class IcingaObjectFieldLoader
|
|||
protected function attachFieldsToForm(QuickForm $form)
|
||||
{
|
||||
$elements = $this->getElements($form);
|
||||
foreach ($elements as $element) {
|
||||
$form->addElement($element);
|
||||
}
|
||||
|
||||
if (! empty($elements)) {
|
||||
$form->addElementsToGroup(
|
||||
|
|
Loading…
Reference in New Issue