Issue Bug Closed

#110143Empty "required fields" step in Page Creation Wizard if field has displayCond

Lisa Kreitz 07/02/26, 11:15 updated 08/11/26, 08:51

Description

I have a field with the following TCA configuration for table pages:

ExtensionManagementUtility::addTCAcolumns(
  'pages',
  [
    'only_in_siteroot' => [
      'exclude' => true,
      'label' => 'Required field only shown in site root pages',
      'config' => [
        'type' => 'input',
        'max' => 255,
        'required' => true,
      ],
      'displayCond' => 'FIELD:is_siteroot:=:1',
      ],
    ]
  );
  ExtensionManagementUtility::addToAllTCAtypes(
    'pages',
    'only_in_siteroot',
    '1',
    'after:title'
  );
})();

So it is required, but only shown in default pages which are marked as siteroot. If I create a new default page via the Page Creation Wizard, the step “required fields” is shown, but empty (see Screenshot). So the displayCond is ignored for the step but the field is correctly not shown. The step should be skip in this case, as it is the case if there are no required fields at all.

Reviews 2

Files 1

History 35

  1. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-07-16T14:30:10+00:00" > 07/16/26, 14:30 </span>

    Applied in changeset commit:ee3e020b091a9f88a6a1ea62b4b9a44d2f60b79f.