Project

General

Profile

Actions

Bug #71679

closed

FormEngine TextElement : add attribute 'data-formengine-input-name' to be able to use select wizard

Added by BIDAU Ismaël over 8 years ago. Updated over 5 years ago.

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 #1

Updated by Georg Ringer over 8 years ago

  • Subject changed from ForEngine TextElement : add attribute 'data-formengine-input-name' to be able to use select wizard to FormEngine TextElement : add attribute 'data-formengine-input-name' to be able to use select wizard
  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46032

Actions #3

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46036

Actions #4

Updated by Morton Jonuschat over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF