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

[BUGFIX release] Make ember-template-compiler handle {{input}} helpers with sub-expression "type" #14762

Merged
merged 2 commits into from
Jan 23, 2017

Conversation

jaswilli
Copy link
Contributor

@jaswilli jaswilli commented Dec 28, 2016

  • Allow {{input}} with a SubExpression type (e.g., {{input type=(if true 'password' 'text')}})
    to be compiled.

Started failing in 2.10.
jsbin repro: http://jsbin.com/kedozaf/edit?html,js,output

@locks locks requested a review from rwjblue December 29, 2016 13:03
@jaswilli jaswilli force-pushed the input-type-sexpr branch 3 times, most recently from 1cdf28f to 77202b2 Compare December 31, 2016 18:54
jaswilli and others added 2 commits January 23, 2017 15:54
- Allow {{input}} with a SubExpression type
  (e.g., {{input type=(if true 'password' 'text')}})
  to be compiled.
@rwjblue
Copy link
Member

rwjblue commented Jan 23, 2017

Sorry for the long delay here @jaswilli, I tweaked things around a small amount and added another test.

This should land in 2.11.0 (sorry about missing 2.10 😿 ).

@rwjblue rwjblue merged commit c998c34 into emberjs:master Jan 23, 2017
@jaswilli
Copy link
Contributor Author

No worries, thanks for the review and fixup!

@jaswilli jaswilli deleted the input-type-sexpr branch January 23, 2017 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants