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. Garvin Hicking changed category Tags NewPageWizard 07/03/26, 17:19

  2. Gerrit Code Review pushed patch set 1 for main to change 94762 status New Under Review 07/10/26, 18:58

  3. Gerrit Code Review pushed patch set 1 for 14.3 to change 94799 07/16/26, 14:16

  4. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 07/16/26, 14:30

    Applied in changeset commit:ee3e020b091a9f88a6a1ea62b4b9a44d2f60b79f.

  5. Benni Mack changed status Resolved Closed 08/11/26, 08:51