Issue Bug Closed

#109760Field required not working correctly

wini2 no-lastname-given 05/04/26, 18:42 updated 08/11/26, 08:46

Description

If ‘Field required’ is set in the form-editor the Field required shows up in the form and works as usual. When the switch is set back to ‘not required’ the asterisk is removed in the form but the field is still requried. A look into the code of the corresponding form.yaml still contains

properties:
   fluidAdditionalAttributes:
     required: required

Clearing Cache in BE and FE (ddev typo3 cache:flush -g system) doesn’t help. The code has to be removed manually in the yaml-file.

Reviews 3

History 811

  1. Gerrit Code Review pushed patch set 1 for main to change 93992 status Accepted Under Review <span data-processor="relativetime" data-value="2026-05-05T15:19:33+00:00" > 05/05/26, 15:19 </span>

  2. Josua Vogel commented <span data-processor="relativetime" data-value="2026-05-06T06:36:37+00:00" > 05/06/26, 06:36 </span>

    Hi @wini2 ,
    feel free to test and vote my fix, so we can merge this. :)

  3. wini2 no-lastname-given commented <span data-processor="relativetime" data-value="2026-05-06T12:13:35+00:00" > 05/06/26, 12:13 </span>

    @josuavogel Thanks for the fix. At first glance it works as expected.
    At the present time it conficts with the patchset 3 from https://review.typo3.org/c/Packages/TYPO3.CMS/+/93995, but I hope both fixes will work when they are finally merged.

  4. Josua Vogel commented <span data-processor="relativetime" data-value="2026-05-06T20:41:28+00:00" > 05/06/26, 20:41 </span>

    Great, yes both will work together.
    If you want, you can give +1 on the patch. Then we have enough votes to merge this :)

  5. wini2 no-lastname-given commented <span data-processor="relativetime" data-value="2026-05-06T22:36:10+00:00" > 05/06/26, 22:36 </span>

    Nice to hear. Hope it will find its way into 14.3.1. Big thanks to you for your effort.

  6. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-05-07T07:00:12+00:00" > 05/07/26, 07:00 </span>

    Applied in changeset commit:cd44c24c2d6642bd05113381cc12c9f7709a02c5.