We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d7796 commit bafe4e2Copy full SHA for bafe4e2
1 file changed
view/adminhtml/templates/form/field_type/textarea.phtml
@@ -17,12 +17,10 @@ use Loki\Components\Util\Block\TemplateRenderer;
17
$field = $block->getField();
18
$fieldAttributes = $field->getFieldAttributes();
19
$fieldType = $field->getFieldType();
20
-$rows = $fieldAttributes['rows'] ?? 3;
21
?>
22
<textarea
23
class="admin__control-text"
24
name="<?= $escaper->escapeHtml($field->getCode()) ?>"
25
- rows="<?= $rows ?>"
26
data-name="<?= $escaper->escapeHtml($field->getCode()) ?>"
27
<?php foreach ($fieldAttributes as $attributeName => $attributeValue) : ?>
28
<?= /* @noEscape */ $attributeName ?>="<?= /* @noEscape */ $attributeValue ?>"
0 commit comments