Open sypets opened 2 years ago
see styleguide Classes/UserFunctions/FormEngine/TypeInput21Eval.php
Configuration/TCA/tx_styleguide_elements_basic.php:
'eval' => 'TYPO3\\CMS\\Styleguide\\UserFunctions\\FormEngine\\TypeInput21Eval',
I don't know how to do that with the automatically generated code snippets. We need to generated different code snippets from styleguide.
And this seems to be different to TCA type input
→ https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Input/Properties/Eval.html#
But actually the eval
processing is the same among all TCA types.
https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Text/Properties/Eval.html#custom-form-evaluation
eval is missing here, unclear how the class TypeText9Eval is to be attached.
Also, this does not exist in "styleguide", perhaps change it to reflect styleguide or remove the EXT:styleguide and change to a more generic extension key.
Compare core v12:
Example typo3/sysext/redirects/Classes/Evaluation/SourceHost.php
Configuration/TCA/sys_redirect.php:
'eval' => 'trim,' . \TYPO3\CMS\Redirects\Evaluation\SourceHost::class,
ext_localconf.php
Classes/Evaluation/SourceHost.php