Skip to content

Commit d16bf5c

Browse files
authored
[TASK] adjust Neos.Form eelhelpers after breaking change in bugfix
2 parents 8adffff + b3d8f73 commit d16bf5c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Resources/Private/Fusion/Components/Atom/Form/ElementRenderer.fusion

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ prototype(Onedrop.Form.Hubspot:Component.Atom.ElementRenderer) < prototype(Neos.
1010
errorClass = ${props.element.properties.elementErrorClassAttribute}
1111
name = ${'--' + formRuntime.identifier + '[' + props.element.identifier + ']'}
1212
label = ${props.element.label}
13-
value = ${Neos.Form.elementValue(formRuntime, props.element)}
13+
value = ${Neos.Form.FusionRenderer.elementValue(formRuntime, props.element)}
1414
isRequired = ${props.element.required}
1515
properties = ${props.element.properties}
16-
validationErrors = ${Neos.Form.validationErrors(formRuntime, props.element)}
16+
validationErrors = ${Neos.Form.FusionRenderer.validationErrors(formRuntime, props.element)}
1717
childElements = ${props.element.elements}
1818
multiple = ${props.element.properties.multiple}
1919
defaultValue = ${props.element.defaultValue}

Resources/Private/Fusion/Components/Molecule/Page/Page.fusion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ prototype(Onedrop.Form.Hubspot:Component.Molecule.Page) < prototype(Neos.Fusion:
66
renderer = afx`
77
<fieldset class={containerElement.properties.elementClassAttribute}>
88
<legend @if.hasLabel={containerElement.label}>
9-
{Neos.Form.translateAndEscapeProperty(props.containerElement, 'label')}
9+
{Neos.Form.FusionRenderer.translateAndEscapeProperty(props.containerElement, 'label')}
1010
</legend>
1111
<Neos.Fusion:Collection collection={props.containerElement.elements} itemName="element" @children="itemRenderer" iterationName="itemIterator">
1212
<Neos.Fusion:Renderer

Resources/Private/Fusion/Components/Molecule/Section/Section.fusion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ prototype(Onedrop.Form.Hubspot:Component.Molecule.Section) < prototype(Neos.Fusi
66
renderer = afx`
77
<fieldset class={containerElement.properties.elementClassAttribute}>
88
<legend @if.hasLabel={containerElement.label}>
9-
{Neos.Form.translateAndEscapeProperty(props.containerElement, 'label')}
9+
{Neos.Form.FusionRenderer.translateAndEscapeProperty(props.containerElement, 'label')}
1010
</legend>
1111
<Neos.Fusion:Collection collection={props.containerElement.elements} itemName="element" @children="itemRenderer" iterationName="itemIterator">
1212
<Onedrop.Form.Hubspot:Component.Atom.ElementRenderer

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"neos/neos": "^4.0",
1414
"neos/form": "^4.0",
15-
"neos/form-fusionrenderer": "1.0.*",
15+
"neos/form-fusionrenderer": "^1.0.2",
1616
"ryanwinchester/hubspot-php": "^1.1",
1717
"onedrop/ajaxform": "^3.1.2"
1818
},

0 commit comments

Comments
 (0)