Skip to content

Pipelining inside expressions #84

Description

@mvrhov

i'd like to use pipelinig inside a yield expression to pass a translation to a block

{{yield inputField(id="email", name="email", type="email", label="login.form.label.email"|T:"Email",map(),"account", icon="fa-envelope", required=true)}}
the parser seems to die inside "label"

I have also tried to use alternate syntax:
{{ label := "login.form.label.email"|T:"Email",map(),"account"}}
{{yield inputField(id="email", name="email", type="email", label=label, icon="fa-envelope", required=true)}}
which also seems to not work. (it reports the same error)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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