Project

General

Profile

Actions

Bug #71257

closed

Story #69617: FormEngine bugs

renderType selecSingleBox shows Invalid Value ""

Added by Morton Jonuschat about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-11-02
Due date:
% Done:

100%

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

Description

Given the following TCA configuration

        'select_34' => array(
            'exclude' => 1,
            'label' => 'SELECT: 34 maxitems=1, renderType=selectSingleBox',
            'config' => array(
                'type' => 'select',
                'renderType' => 'selectSingleBox',
                'items' => array(
                    array('foo 1', 1),
                    array('foo 2', 2),
                    array('foo 3', 3),
                    array('foo 4', 4),
                    array('foo 5', 5),
                    array('foo 6', 6),
                ),
                'maxitems' => 1,
            ),
        ),

The selectSingleBox shows INVALID VALUE "" for new records. This happens only with maxitems = 1

Actions

Also available in: Atom PDF