Actions
Bug #94158
openSelect type selectSingle fields (and likely other renderTypes too) do not support eval=null
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
Updated by Simon Schaufelberger over 3 years ago
- Related to Bug #88480: RTEs should support nullable fields added
Updated by Simon Schaufelberger over 3 years ago
- TYPO3 Version changed from 9 to 8
This commit dropped the nullable feature: https://github.com/TYPO3/TYPO3.CMS/commit/84be5e616b5373ac7ba57edf2d3cd61251dc6f97#diff-bd96db30f03f9ad888cc42f001e1cc3183de6457df03f96328efa826a9c4ac21
Actions