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
v1.13.0-beta.2 - Uncaught Error: Assertion Failed: Expected component:chosen-select to resolve to an Ember.Component but instead it was (subclass of Ember.Select).
#11324
Closed
ChrisHonniball opened this issue
Jun 2, 2015
· 6 comments
Uncaught Error: Assertion Failed: Expected component:chosen-select to resolve to an Ember.Component but instead it was (subclass of Ember.Select).
I had the same error when extending the default Ember.View which was not a big deal because I just made it a Ember.Component and updated a few lines of code but what about if I want to extend Ember.Select or other built in components (i.e., Ember.TextArea). What is the right technique after 1.13.0? Thanks for the help!
The text was updated successfully, but these errors were encountered:
Extending from something that is an Ember.Component is totally fine, and doesn't have an issue. If you are extending from Ember.Select though, it is an Ember.View (not a component at all) which is what triggers the deprecation.
If I wanted to extend these controls am I still able to? I could just wrap them inside a component and do my necessary work on the wrapped elements if this isn't going to be something I have access to.
I'm getting:
I had the same error when extending the default Ember.View which was not a big deal because I just made it a Ember.Component and updated a few lines of code but what about if I want to extend Ember.Select or other built in components (i.e., Ember.TextArea). What is the right technique after 1.13.0? Thanks for the help!
The text was updated successfully, but these errors were encountered: