Nested components are causing the template rendering to only render the last nested template

Description

// Path: /wires/NestedComponent.cfc component extends="cbwire.models.Component" { data = { "child": false, "index": 0 }; }
<!--- Path: /views/wires/nestedcomponent.cfm ---> <cfoutput> <div> <cfif not args.child> not a child <cfloop from="1" to="5" index="i"> #wire( "NestedComponent", { "child": true, "index": i })# </cfloop> <cfelse> child #args.index# </cfif> </div> </cfoutput>

This will just result in the output child 5.

Need to change how rendering is processed

Activity

Show:
Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created October 18, 2022 at 8:32 PM
Updated October 18, 2022 at 8:32 PM
Resolved October 18, 2022 at 8:32 PM