Skip to content

Commit 5bc34fa

Browse files
ENGCOM-4631: #21779 Adminhtml textarea field doesn't accept maxlength #21816
- Merge Pull Request #21816 from kisroman/magento2:21779 - Merged commits: 1. 1dc63e8
2 parents 2bca2aa + 1dc63e8 commit 5bc34fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/internal/Magento/Framework/Data/Form/Element/Textarea.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function getHtmlAttributes()
6464
'rows',
6565
'cols',
6666
'readonly',
67+
'maxlength',
6768
'disabled',
6869
'onkeyup',
6970
'tabindex',

lib/internal/Magento/Framework/Data/Test/Unit/Form/Element/TextareaTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public function testGetHtmlAttributes()
7676
'rows',
7777
'cols',
7878
'readonly',
79+
'maxlength',
7980
'disabled',
8081
'onkeyup',
8182
'tabindex',

0 commit comments

Comments
 (0)