Bug #94158

Select type selectSingle fields (and likely other renderTypes too) do not support eval=null

Added by Claus Due 5 months ago. Updated 4 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-05-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Example TCA:

'field' => [
    'label' => 'LLL:EXT:myext/Resources/Private/Language/locallang_db.xlf:table.field',
    'config' => [
        'type' => 'select',
        'renderType' => 'selectSingle',
        'foreign_table' => 'tx_foo',
        'eval' => 'null',
    ],
],

Expectation:

Field should render with the "Set value" checkbox identical to how eval=null works on for example simple input fields.

Current behavior:

Option eval=null is ignored and does not render a "Set value" checkbox above the field.

References:

Similarly reported for RTE fields on https://forge.typo3.org/issues/88480


Related issues

Related to TYPO3 Core - Bug #88480: RTEs should support nullable fieldsNew2019-06-03

Actions
#1

Updated by Simon Schaufelberger 4 months ago

  • Related to Bug #88480: RTEs should support nullable fields added

Also available in: Atom PDF