Skip to content

Commit bafe4e2

Browse files
committed
Simplify rows again
1 parent 38d7796 commit bafe4e2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

view/adminhtml/templates/form/field_type/textarea.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ use Loki\Components\Util\Block\TemplateRenderer;
1717
$field = $block->getField();
1818
$fieldAttributes = $field->getFieldAttributes();
1919
$fieldType = $field->getFieldType();
20-
$rows = $fieldAttributes['rows'] ?? 3;
2120
?>
2221
<textarea
2322
class="admin__control-text"
2423
name="<?= $escaper->escapeHtml($field->getCode()) ?>"
25-
rows="<?= $rows ?>"
2624
data-name="<?= $escaper->escapeHtml($field->getCode()) ?>"
2725
<?php foreach ($fieldAttributes as $attributeName => $attributeValue) : ?>
2826
<?= /* @noEscape */ $attributeName ?>="<?= /* @noEscape */ $attributeValue ?>"

0 commit comments

Comments
 (0)