Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Square braces in key name #1092

@distantnative

Description

@distantnative

I have the following data structure:

[Log] [ (panel, line 126)
Object
countries[]: Array[2]
    0: "de"
    1: "en"
rate: "3 %"
]

And would like to output it with:

{{rate}}: {{countries[]}}

Sadly, this isn't working. The square brackets in the key name countries[] seem to be the problem. They get created by the CMS. If I remove them manually, {{rate}}: {{countries}} works. Any idea how to make it work with the square brackets in the key?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions