Skip to content

Data from listItems are not passed through in the loop  #685

Closed
@bramsmulders

Description

@bramsmulders

I am using Pattern Lab Node v2.11.0 on Mac, with Node v6.11.3, using the Gulp Edition.

Expected Behavior

Should render three different titles harvested from _data/listitems.json.

Actual Behavior

Renders three times the same title attribute which is defined in _data/data.json

Steps to Reproduce

Consider this template code:

{{#listItems.three}}
{{title}}
{{/listItems.three}}

Note: it is working in PL-node v2.9.3 so it has to be a problem with the refactoring of data in the latest release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions