I have a template that starts its definition with:
App.PasswordInputComponent = Ember.TextField.extend({
templateName: 'templates/components/text-input-component',
layoutName: 'templates/components/text-input-layout',
Without these two properties, he will select the default template for the component, which is “templates / components / password entry”. What is surprising (read: disappointing) is that it really loads this default value and ignores both parameters!
The documentation states that these two properties should behave the same as for the parent class View, but this is not my experience. Can someone tell me if they have this job?
source
share