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 about 9 years ago. Updated about 6 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 about 9 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 almost 9 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 almost 9 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 almost 9 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF