#71679FormEngine TextElement : add attribute 'data-formengine-input-name' to be able to use select wizard
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