Skip to content

Pattern link variable doesn't work in a pattern parameter #688

Closed
@bradfrost

Description

@bradfrost

I'd like to be able to use the link variable in conjunction with a pattern parameter. So in essence, this:

{{> molecules-button(buttonText: "Complete Order", url : "link.pages-confirmation") }}
Expected Behavior

The link variable gets interpreted, and clicking on the button links through to the appropriate Pattern Lab pattern.

Actual Behavior

When the link variable is wrapped in quotes (as per the example above), it gets exported as a string as-is. When the link variable isn't wrapped in quotes, the build breaks.

Steps to Reproduce

See above code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions