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

#with array yields boolean #12995

Closed
spencer516 opened this issue Feb 22, 2016 · 2 comments · Fixed by #12996
Closed

#with array yields boolean #12995

spencer516 opened this issue Feb 22, 2016 · 2 comments · Fixed by #12996
Labels

Comments

@spencer516
Copy link
Contributor

In both Beta and Canary, if the value in the with helper is an array, it will yield true rather than the array itself.

See this twiddle for an example. (This behavior does not occur on 2.3 and down).

@fivetanley
Copy link
Member

I had to modify some of the dependencies for this to load without errors, but this is indeed a bug. https://ember-twiddle.com/c956012ee7ad22e46436?openFiles=twiddle.json%2Capplication.template.hbs

@fivetanley fivetanley added the Bug label Feb 22, 2016
@rwjblue
Copy link
Member

rwjblue commented Feb 23, 2016

Most likely due to #12922.

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

Successfully merging a pull request may close this issue.

3 participants