Skip to content

Commit

Permalink
[TASK] adjust Neos.Form eelhelpers after breaking change in bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
beardcoder authored Apr 30, 2019
2 parents 8adffff + b3d8f73 commit d16bf5c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ prototype(Onedrop.Form.Hubspot:Component.Atom.ElementRenderer) < prototype(Neos.
errorClass = ${props.element.properties.elementErrorClassAttribute}
name = ${'--' + formRuntime.identifier + '[' + props.element.identifier + ']'}
label = ${props.element.label}
value = ${Neos.Form.elementValue(formRuntime, props.element)}
value = ${Neos.Form.FusionRenderer.elementValue(formRuntime, props.element)}
isRequired = ${props.element.required}
properties = ${props.element.properties}
validationErrors = ${Neos.Form.validationErrors(formRuntime, props.element)}
validationErrors = ${Neos.Form.FusionRenderer.validationErrors(formRuntime, props.element)}
childElements = ${props.element.elements}
multiple = ${props.element.properties.multiple}
defaultValue = ${props.element.defaultValue}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prototype(Onedrop.Form.Hubspot:Component.Molecule.Page) < prototype(Neos.Fusion:
renderer = afx`
<fieldset class={containerElement.properties.elementClassAttribute}>
<legend @if.hasLabel={containerElement.label}>
{Neos.Form.translateAndEscapeProperty(props.containerElement, 'label')}
{Neos.Form.FusionRenderer.translateAndEscapeProperty(props.containerElement, 'label')}
</legend>
<Neos.Fusion:Collection collection={props.containerElement.elements} itemName="element" @children="itemRenderer" iterationName="itemIterator">
<Neos.Fusion:Renderer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prototype(Onedrop.Form.Hubspot:Component.Molecule.Section) < prototype(Neos.Fusi
renderer = afx`
<fieldset class={containerElement.properties.elementClassAttribute}>
<legend @if.hasLabel={containerElement.label}>
{Neos.Form.translateAndEscapeProperty(props.containerElement, 'label')}
{Neos.Form.FusionRenderer.translateAndEscapeProperty(props.containerElement, 'label')}
</legend>
<Neos.Fusion:Collection collection={props.containerElement.elements} itemName="element" @children="itemRenderer" iterationName="itemIterator">
<Onedrop.Form.Hubspot:Component.Atom.ElementRenderer
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"neos/neos": "^4.0",
"neos/form": "^4.0",
"neos/form-fusionrenderer": "1.0.*",
"neos/form-fusionrenderer": "^1.0.2",
"ryanwinchester/hubspot-php": "^1.1",
"onedrop/ajaxform": "^3.1.2"
},
Expand Down

0 comments on commit d16bf5c

Please sign in to comment.