Actions
Feature #93926
openAllow setting empty labels via TSconfig
Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-04-15
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Via TSconfig TCEFORM
it's possible to set label
and (since v11) also description
of TCA fields.
However it was never possible to set empty labels, because the form data providers evaluating the TSconfig check for empty()
, not just for isset()
.
For example:TCEFORM.pages.title.label =
will be interpreted like as it was not there at all.
As an intgerator or developer, when writing such a line explicitly int my code, I'd expect that it is evaluated by the Core API.
For example I may want to unset a description in a specific page tree.
This should be generally possible for all "label-like" TSconfig settings (label
and description
where just an example).
No data to display
Actions