Skip to content

Question: using filters in tag parameters #745

Description

@mohas

Hi, I'm going to use this fiddle to demonstrate my point, so we have a custom tag and we want parameters to be manipulated using filters when we call hash.render(ctx), do you have any suggestions? and also why does enclosing my parameters value in {{}} or {} always yields true?

currently I parse the parameter {{max|minus:2}} as string and refeed it to engine engine.parseAndRenderSync(this.args.to, scope) to apply the filter, but any suggestions are welcome thank you

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions