Deprecation: #97035 - “required” option in “eval” keyword¶
See Issue #97035
Since Issue #67354, the FormEngine may use
required with a bool value
in a TCA field configuration, enabling the same functionality as the
To clean TCA up and allow further refactoring,
'eval' => 'required
has been marked as deprecated.
eval in TCA and Flexform will trigger an automatic
migration and therefore a deprecation log entry.
All 3rd party extension either using
'eval' => 'required' or
<eval>required</eval> are affected.
'required' => true and
<required>1</required> to avoid
automatic migration and hence a deprecation log entry.
Example before migration:
'columns' => [ 'some_column' => [ 'title' => 'foo', 'config' => [ 'eval' => 'trim,required', ], ], ],
Example after migration:
'columns' => [ 'some_column' => [ 'title' => 'foo', 'config' => [ 'required' => true, 'eval' => 'trim', ], ], ],