Skip to content
Snippets Groups Projects
Commit 4941dca8 authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[FEATURE] Add required flag in TCA instead of `eval` option

In order to make TCA slimmer and more understandable, the
`required` configuration is now used in favor of
`eval`, which is also enforced by an automatic
TCA migration.

At least since #67354 TYPO3 is able to use an explicit `required`
configuration:

    'column' => [
        'label' => 'foo',
        'config' => [
            'type' => 'input',
            'required' => true,
        ],
    ]

Resolves: #97035
Releases: main
Change-Id: Ifa4b361e7e4a664596697d4351d6d4b933946d54
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73709


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 23019fe4
Branches
Tags
No related merge requests found
Showing
with 224 additions and 40 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment