#103464Using TCEFORM on columnsOverrides is not alway reliable
Description
When setting in $GLOBALS[‘TCA’][‘tt_content’][‘types’][‘text’]:
'columnsOverrides' => [
'subheader' => [
'config' => [
'size' => 1,
'max' => 1
]
]
]
And using TCEFORM to override the override
TCEFORM.tt_content {
subheader.types.text.config.max = 98
subheader.types.text.config.size = 20
}
It does allow writing more than on char but it does crop after saving, which should not be.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Benni Mack commented <span data-processor="relativetime" data-value="2025-03-03T13:06:04+00:00" > 03/03/25, 13:06 </span>
Georg Ringer wrote in #note-1:
> confirmed in main. problem is IMHO in\TYPO3\CMS\Core\DataHandling\DataHandler::checkValueForInputwhich gets the tcaconfig which misses the tsconfigWe did have this in the past (= issues as such). The reasoning back then for not fixing was that “TCEFORM” explains FormEngine, and NOT TCEMAIN / DataHandler… the correct solution would then to introduce new settings which are respected everywhere.
For this reason e.g. TCAdefaults is taken into account, but NOT TCEFORM.
I suggest adding a new field for this use-case btw…
-
Benni Mack commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-04-22T10:05:19+00:00" > 04/22/25, 10:05 </span>Does my input work for you?
-
Georg Ringer commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-10-22T18:43:49+00:00" > 10/22/26, 18:43 </span>closing as no feedback
confirmed in main. problem is IMHO in
\TYPO3\CMS\Core\DataHandling\DataHandler::checkValueForInputwhich gets the tcaconfig which misses the tsconfig