--- /dev/null
+.. include:: ../../Includes.txt
+
+=================================================================
+Breaking: #82093 - EXT:form Partials/Field/Field.html has changed
+=================================================================
+
+See :issue:`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.
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.identifier}">
+
+has been changed to
+
+.. code-block:: html
+
+ <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.
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.identifier}">
+
+change to
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">
+
+
+.. index:: Frontend, ext:form, NotScanned
--- /dev/null
+.. include:: ../../Includes.txt
+
+=================================================================
+Breaking: #82093 - EXT:form Partials/Field/Field.html has changed
+=================================================================
+
+See :issue:`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.
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.identifier}">
+
+has been changed to
+
+.. code-block:: html
+
+ <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.
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.identifier}">
+
+change to
+
+.. code-block:: html
+
+ <f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">
+
+
+.. index:: Frontend, ext:form, NotScanned
$exception
);
}
- $result->forProperty($propertyPath)->merge($processingRule->getProcessingMessages());
+ $result->forProperty($this->getIdentifier() . '.' . $propertyPath)->merge($processingRule->getProcessingMessages());
$this->formState->setFormValue($propertyPath, $value);
}
}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:formvh="http://typo3.org/ns/TYPO3/CMS/Form/ViewHelpers" data-namespace-typo3-fluid="true">
-<f:form.validationResults for="{element.identifier}">
+<f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">
<div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
<f:if condition="{doNotShowLabel} != 1">
<label class="control-label" for="{element.uniqueIdentifier}">{formvh:translateElementProperty(element: element, property: 'label')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>