diff --git a/src/Netzmacht/Bootstrap/Form/Subscriber.php b/src/Netzmacht/Bootstrap/Form/Subscriber.php index 9c885b5..207e264 100644 --- a/src/Netzmacht/Bootstrap/Form/Subscriber.php +++ b/src/Netzmacht/Bootstrap/Form/Subscriber.php @@ -81,6 +81,9 @@ public function generate(GenerateEvent $event) $this->setColumnLayout($widget, $container, $label); $this->adjustElement($event, $element, $widget, $container); $this->addInputGroup($widget, $container, $element); + + // inject errors into container + $container->addChild('errors', $errors); }