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