-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ember.View.reopen() from guide for binding data-* attributes doesn't work since I updated ember to 1.13.x #11849
Comments
Which specific version of Ember? |
ember 1.13.3 |
@imaxhung it may be helpful if you are able to post a http://emberjs.jsbin.com demonstrating the issue. |
@stefanpenner I found Ember.keys(this) don't contain those additional attributes from templates since 1.13.0. |
The reason for this, is that we export a deprecated version of To fix this, we would need to override |
I think I can fix this. |
The issue seems be that components inherit from views in 1.13. We can support the fix in #11866 for 1.13, but the same code will break in 2.0 for sure. We should call it out in the release post (started notes here). |
I just put that code form guide in application route before the upgrade, then start to use
data-*
attributes. Like:It works fine.
But it doesn't work after the upgrade.
Now, I must put those
data-*
attributes intoEmber.TextField.reopen()
'sattributeBindings
one by one.Did I missing something?
The text was updated successfully, but these errors were encountered: