Breaking: #82093 - EXT:form Partials/Field/Field.html has changed¶
See forge#82093
Description¶
To let the form field viewhelper attribute errorClass work, the partial
EXT:form/Resources/Private/Frontend/Partials/Field/Field.html
has been changed.
<f:form.validationResults for="{element.identifier}">
has been changed to
<f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">
Impact¶
Users who overwrite this partial by its own partial have to make adjustments.
Otherwise no has-error
class will be rendered in case of form validation errors
into the parents <div class="form-group">
and the <span class="help-block">
content will not be rendered.
Affected Installations¶
All installations with overwritten partial EXT:form/Resources/Private/Frontend/Partials/Field/Field.html
Migration¶
Change the partial Field/Field.html
within your site package.
<f:form.validationResults for="{element.identifier}">
change to
<f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">