Skip to content

Commit

Permalink
FIX: Replace removed fusion rendering-prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Oct 7, 2024
1 parent 56743cf commit b2ca80d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ And the corresponding Fusion object to render the Form Element:
```fusion
prototype(Your.Package:NameAndTitle) < prototype(Neos.Form.FusionRenderer:FormElement) {
fieldContainer {
field = Neos.Fusion:Array {
field = Neos.Fusion:Join {
title = Neos.Form.FusionRenderer:FormElementField {
tagName = 'select'
attributes {
Expand Down Expand Up @@ -243,7 +243,7 @@ prototype(Your.Package:NameAndTitle) < prototype(Neos.Form.FusionRenderer:FormEl
}
```

In this case we replace the `field` to be an `Neos.Fusion:Array`.
In this case we replace the `field` to be an `Neos.Fusion:Join`.

> **Note:** The element type of the composite element will be `array`, you can refer to the
individual values (e.g. in the ConfirmationFinisher message) via dot-syntax (for example `theElement.givenName`)
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Core/Form.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ prototype(Neos.Form:Form) < prototype(Neos.Fusion:Tag) {

prototype(Neos.Form:FormEditMode) < prototype(Neos.Form:Form) {
content.navigation >
content.pages.collection = ${formRuntime.pages}
content.pages.items = ${formRuntime.pages}
}

prototype(Neos.Form.FusionRenderer:FormStateHiddenField) < prototype(Neos.Fusion:Tag) {
Expand Down

0 comments on commit b2ca80d

Please sign in to comment.