Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ebryn opened this issue Oct 20, 2015 · 1 comment · May be fixed by tildeio/htmlbars#448
Closed

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

ebryn opened this issue Oct 20, 2015 · 1 comment · May be fixed by tildeio/htmlbars#448

Comments

@ebryn
Copy link
Member

ebryn commented Oct 20, 2015

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>
@mmun
Copy link
Member

mmun commented May 2, 2016

This should be fixed now as of glimmerjs/glimmer-vm#148 (Glimmer only). Anyone mind writing a test to verify it?

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

Successfully merging a pull request may close this issue.

3 participants