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

difference in layoutName behavior in 2.0.2 and 2.1 #12670

Closed
jcope2013 opened this issue Dec 2, 2015 · 3 comments
Closed

difference in layoutName behavior in 2.0.2 and 2.1 #12670

jcope2013 opened this issue Dec 2, 2015 · 3 comments
Labels

Comments

@jcope2013
Copy link
Contributor

I expect the bs-input component to show up in the template by changing out the layoutName in the init of another component

2.1, setting layoutName does nothing, bs-input component not rendered in template

https://ember-twiddle.com/70a5b77b6b7bb24976a0

2.0.2, setting layoutName works, bs-input component rendered in template

https://ember-twiddle.com/dad06f08b25c2ae1bd54

I believe it was related to this, is this intentional or a regression? #12299

is there a new way to do this without having to use the component helper?

@rwjblue
Copy link
Member

rwjblue commented Dec 2, 2015

Work around for now is to set layoutName before calling this._super, but I believe that this is a regression we should fix.

Demo using workaround: https://ember-twiddle.com/5097bebbfb1209da7784

@rwjblue rwjblue added the Bug label Dec 2, 2015
@jcope2013
Copy link
Contributor Author

this is still present in ember 2.5, the workaround still works properly

https://ember-twiddle.com/43c370747fc6c440e723b3d533c6da93

@jcope2013
Copy link
Contributor Author

jcope2013 commented Apr 14, 2017

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

No branches or pull requests

2 participants