Skip to content

Parameter-less helper calls don't work inside of attributes #12506

Closed
tildeio/htmlbars
#448
@ebryn

Description

@ebryn

Example: http://ember-twiddle.com/098c793577e88f993e1d

Given a foo-bar helper, you aren't able to call it without parameters inside of an attribute:

<a href={{foo-bar}}>look at my href</a>

Quick workaround is to specify a parameter that won't be used:

<a href={{foo-bar helper=true}}>look at my href</a>

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions