#93926Allow setting empty labels via TSconfig
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).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] Allow setting empty labels via TSconfig Resolves: #93926 Releases: main
History 2
-
S P commented <span data-processor="relativetime" data-value="2026-06-11T07:13:14+00:00" > 06/11/26, 07:13 </span>
Still not possible to unset labels/descriptions via TSconfig in v14 (without the ugly zero-width-space hack).
v13 still does not allow unsetting labels/descriptions via TSconfig (need this for a specific one-out-of-hundreds page-tree, hence TSconfig).
Workaround, for everyone with the same problem: if you want to visually unset a label, copy-paste a zero-width-space (Unicode 200B) into the config, this has effectively the same outcome.