You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you locks, yes you are right the template is replaced with layout, but in v2.9.1 anything passed to the template property was being yielded into the the layout. anyway it seems that the template property is removed in v2.10.0. as a fix for rendering a dynamic template inside a component one should use the partial helper followed by the template name.
{{partial template}}
This fixed my issue, but i think a deprecation message should have been added in past versions before removing the template property from the API, as there was no any indications that it will be removed.
Thank You, please let me know if you need a reproduction.
Passing template property to component is not working anymore to reproduce this
app/components/foo-bar.js
app/components/foo-bar.hbs
BEGIN {{yield}} END
Ember v2.9.1 will output:
BEGIN A TEMPLATE END
, but Ember v2.10.10 will output:BEGIN END
The text was updated successfully, but these errors were encountered: