Project

General

Profile

Actions

Bug #71622

closed

TCA type=select does not render select field

Added by Kevin Ditscheid over 8 years ago. Updated about 7 years ago.

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

0%

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

Description

When I want to render a normal select field via TCA, I just get the message "Unknown type: select".
With TYPO3 7.5 a TCA configuration like this:

'header_icon_position' => array(
'exclude' => 1,
'label' => 'LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position',
'config' => array(
'type' => 'select',
'items' => array(
array(
'',
''
),
array(
'LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position.left',
'left'
),
array(
'LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position.right',
'right'
)
)
)
),

has rendered a normal select field. With TYPO3 7.6 this isn't the case anymore.
If i define the rederType manually, it will work again, but the documentation doesn't mention, that the renderType is mandatory, now.
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#rendertype

Besides that, if i do the TCA with foreign_table, the renderType is processed automatically.
This seems a lot like a bug, because the default renderType should be selectSingleBox like it was before TYPO3 7.6.

Running on TYPO3 7.6.0 and TYPO3 7.6.1-dev with PHP 5.5.

Actions

Also available in: Atom PDF