Skip to content

Commit a880a9a

Browse files
committed
MC-36260: Unexpected cursor position in the comment textarea
1 parent fa784fa commit a880a9a

File tree

1 file changed

+5
-3
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create

1 file changed

+5
-3
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create/items.phtml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@
7676
<span><?= $block->escapeHtml(__('Invoice Comments')) ?></span>
7777
</label>
7878
<div class="admin__field-control">
79-
<textarea id="invoice_comment_text" name="invoice[comment_text]" class="admin__control-textarea"
80-
rows="3" cols="5"><?= $block->escapeHtml($block->getInvoice()->getCommentText())
81-
?></textarea>
79+
<textarea id="invoice_comment_text"
80+
name="invoice[comment_text]"
81+
class="admin__control-textarea"
82+
rows="3"
83+
cols="5"><?= $block->escapeHtml($block->getInvoice()->getCommentText())?></textarea>
8284
</div>
8385
</div>
8486
</div>

0 commit comments

Comments
 (0)