mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
DirectorObjectForm: failing field elements...
...should still make part of the fields group
This commit is contained in:
parent
f50a1f7fec
commit
e5ebcc4bcc
@ -350,6 +350,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
$this->addElement('text', $name, array('disabled' => 'disabled'));
|
$this->addElement('text', $name, array('disabled' => 'disabled'));
|
||||||
$el = $this->getElement($name);
|
$el = $this->getElement($name);
|
||||||
$el->addError(sprintf('Form element could not be created, %s is missing', $className));
|
$el->addError(sprintf('Form element could not be created, %s is missing', $className));
|
||||||
|
$this->addToFieldsDisplayGroup($el);
|
||||||
return $el;
|
return $el;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user