Actions
Bug #71679
closedFormEngine TextElement : add attribute 'data-formengine-input-name' to be able to use select wizard
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2015-11-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
I have a text field define like this
'myField' => array ( 'label' => 'myLabel', 'config' => array ( 'type' => 'text', 'wizards' => array ( 'select' => array ( 'type' => 'select', 'items' => array ( array ('option 1', 'text 1'), array ('option 2', 'text2'), array ('option 3', 'text3'), ) ) ) ) ),
The wizard doesn't work anymore (work for 'type' => 'input')
In typo3_src-7.6.0/typo3/sysext/backend/Classes/Form/Element/TextElement.php
line 145
add :
$attributes['data-formengine-input-name'] = htmlspecialchars($parameterArray['itemFormElName']);
solve the problem
Actions