Assertion Fails While Rendering Multiple EmberJS Views
I am using the view helper multiple times, in order to render the same template but with different parameters every time, mostly booleans acting as option flags. However, I get the
Solution 1:
You are overriding the init() method of Ember.View and not calling this._super(). This causes the view to not initialize properly resulting in your view elements missing id attributes (e.g. id="ember224").
Below is a link to your original JSBin with the addition of MyCustomView.init() calling this._super(). You will find the view elements now have id attributes.
Post a Comment for "Assertion Fails While Rendering Multiple EmberJS Views"