Project

General

Profile

Actions

Bug #76689

closed

Multiple Select within a Section

Added by Jonathan Starck almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-06-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

I tried to create in the Extension "DCE" a "multiple select"-Field within a section.

<config>
    <type>select</type>
    <items type='array'>
        <numIndex index='0' type='array'>
            <numIndex index='0'>Label A</numIndex>
            <numIndex index='1'>0</numIndex>
        </numIndex>
        <numIndex index='1' type='array'>
            <numIndex index='0'>Label B</numIndex>
            <numIndex index='1'>1</numIndex>
        </numIndex>
    </items>
    <size>5</size>
    <minitems>1</minitems>
    <maxitems>2</maxitems>
</config>

And get following error:
#1: PHP Warning: in_array() expects parameter 2 to be array, null given in [...]/typo3_src/TYPO3.CMS/typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php line 103

I still tried some other variations but every time I get similar errors.
This is not trade to be an error in the extension.


Files

screenshot.png (894 KB) screenshot.png Error Jonathan Starck, 2016-06-17 22:07
Actions

Also available in: Atom PDF