-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eval / custom class example with class path as string does not work with double-slashes for FlexForm #252
Comments
Specifying the class name in |
Can be found at https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/Type/Input/Properties/Eval.html now, Move Code to styleguide extension and make sure it is running. |
This was referenced Jun 1, 2022
linawolf
pushed a commit
that referenced
this issue
Jun 4, 2022
linawolf
added a commit
that referenced
this issue
Jun 4, 2022
* Replace class name in static string in eval Use ::class with class name instead of static string in the description of the property eval. Additionally, "required" is removed from the string, since this has been moved to a separate property since v12. Some captions reflecting the file names are added to the code blocks. For v12, we can also add a "use" to ext_localconf.php to define the full class name and use the short class name below. Resolves: #599 Resolves: #252 * Add required property to eval example. Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com> Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the example for "eval" => "Vendor ...", but using this in FlexForms
The string as specified in the example with double-slashes does not work in my example. String with single-slashes does, e.g.
not:
'eval' => 'trim,Vendor\\Extension\\Evaluation\\ExampleEvaluation,required'
but:
'eval' => 'trim,Vendor\Extension\Evaluation\ExampleEvaluation,required'
(However, as stated above this was tested with FlexForm, not with TCA directly)
The text was updated successfully, but these errors were encountered: