Issue Bug Closed

#106732EXT:form partial "Field/Required" arguments in Checkbox and AdvancedPassword (FrontendVersion2)

Tobias Jungmann 05/20/25, 05:37 updated 08/12/25, 14:35

Description

In the form partial Field/Field (FrontendVersion2) the partial Field/Required is called with argument {element: element}. This allows to use {element.rootForm.renderingOptions.fieldProperties.requiredMarkClassAttribute} in html class.

However, in the partials Checkbox and AdvancedPassword the partial Field/Required is called without the argument. This leads to missing class in the span tag which leads to inconsistent styling in the forms.

The current workaround is to copy the partials for Checkbox and AdvancedPassword and add arguments={element: element} to the render tag.

This should be fixed in v12, v13, v14.

Reviews 3

History 58

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-05-20T05:59:40+00:00" > 05/20/25, 05:59 </span>

    Are you talking about EXT:form, I suppose?

  2. Tobias Jungmann changed subject Form partial "Field/Required" arguments in Checkbox and AdvancedPassword (FrontendVersion2) EXT:form partial "Field/Required" arguments in Checkbox and AdvancedPassword (FrontendVersion2) <span data-processor="relativetime" data-value="2025-05-20T06:30:27+00:00" > 05/20/25, 06:30 </span>

  3. Tobias Jungmann commented <span data-processor="relativetime" data-value="2025-05-20T06:31:17+00:00" > 05/20/25, 06:31 </span>

    Garvin Hicking wrote in #note-1:
    > Are you talking about EXT:form, I suppose?

    Oh sorry, yes. I updated the title.

  4. Gerrit Code Review pushed patch set 1 for main to change 89452 status Needs Feedback Under Review <span data-processor="relativetime" data-value="2025-05-20T08:35:40+00:00" > 05/20/25, 08:35 </span>

  5. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-05-20T13:50:08+00:00" > 05/20/25, 13:50 </span>

    Applied in changeset commit:33dcdb4bc0d296364cf824aaaf2ce9b58fbb8590.