jeudi 12 février 2015

How to avoid deprecation warning for components extending Ember.TextField with ember 1.10.0

I have a component "InstantSearchTextField" that extendeds Ember.TextArea and I wanted to use it in hbs without getting the deprecation warning.


this works: {{view "App.InstantSearchTextField"}}


but the problem is I get deprecation error. I cannot do {{view "instant-seach-text-field"}}, I also tried to create a helper but that didn't work too. Here is a jsbin : http://ift.tt/1DJuOta


What is the proper way to do this to avoid the deprecation warning? Thanks, Dee





Aucun commentaire:

Enregistrer un commentaire