Project

General

Profile

Bug #71679

Updated by Georg Ringer over 8 years ago

I have a text field define like this 
 <pre> 
 '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'), 
						 ) 
					 ) 
				 ) 
			 ) 
		 ), 
 </pre> 
 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

Back