Project

General

Profile

Actions

Bug #94158

open

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

Added by Claus Due almost 3 years ago. Updated almost 3 years 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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Simon Schaufelberger almost 3 years ago

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

Also available in: Atom PDF