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. Josua Vogel commented 05/05/26, 15:10

    Thx for reporting this bug!

  2. Josua Vogel changed status New Accepted assigned to Josua Vogel 05/05/26, 15:10

  3. Gerrit Code Review pushed patch set 1 for main to change 93992 status Accepted Under Review 05/05/26, 15:19

  4. Gerrit Code Review pushed patch set 2 for main to change 93992 05/05/26, 15:20

  5. Josua Vogel commented 05/06/26, 06:36

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

  6. wini2 no-lastname-given commented 05/06/26, 12:13

    @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.

  7. Josua Vogel commented 05/06/26, 20:41

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

  8. wini2 no-lastname-given commented 05/06/26, 22:36

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

  9. Gerrit Code Review pushed patch set 1 for 14.3 to change 94011 05/07/26, 06:34

  10. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % 05/07/26, 07:00

    Applied in changeset commit:cd44c24c2d6642bd05113381cc12c9f7709a02c5.

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