Add submit button styles support to block styles renderer

[MAILPOET-2604]
This commit is contained in:
Rostislav Wolny
2020-03-19 10:24:56 +01:00
committed by Veljko V
parent 2c69d07109
commit 94784cfd8a
9 changed files with 95 additions and 50 deletions

View File

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