Align correctly input fields in rendered form

[MAILPOET-2809]
This commit is contained in:
Pavel Dohnal
2020-04-27 15:19:23 +02:00
committed by Veljko V
parent ea09f3de05
commit d8c461f7d5
2 changed files with 18 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ class Textarea {
public function render(array $block, array $formSettings): string {
$html = '';
$styles = $this->inputStylesRenderer->renderForTextInput($block['styles'] ?? []);
$styles = $this->inputStylesRenderer->renderForTextInput($block['styles'] ?? [], $formSettings);
$html .= $this->rendererHelper->renderLabel($block, $formSettings);