Closed
Description
Preconditions (*)
When I use textarea field type I can't use the attribute maxlenght
, but when I use text
I can use it.
File: app/code/MyCompany/MyModule/Block/Adminhtml/Manage/Edit/Form.php
Steps to reproduce (*)
Textarea
Actual result (*)
$fieldset->addField(
'notes',
'textarea',
[
'label' => __('Notes'),
'name' => 'notes',
'maxlength' => '70'
]
);
### Expected result (*)
Text
$fieldset->addField(
'notes',
'text',
[
'label' => __('Notes'),
'name' => 'notes',
'maxlength' => '70'
]
);
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release