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
{{ message }}
This repository has been archived by the owner on May 11, 2018. It is now read-only.
As the propery 'selected' is not prepared for Ember when initializing the observer, the property binding on '[email protected]' won't work any more.
To fix the problem, you should declared the property you wanna binding explicitly, such as:
For example:
App.User = Ember.Resource.extend({
resourceUrl: '/users',
resourceName: 'user',
resourceProperties: ['name', 'selected']
});
App.UserController = Ember.ResourceController.extend({
})
As the propery 'selected' is not prepared for Ember when initializing the observer, the property binding on '[email protected]' won't work any more.
To fix the problem, you should declared the property you wanna binding explicitly, such as:
App.User = Ember.Resource.extend({
resourceUrl: '/users',
resourceName: 'user',
resourceProperties: ['name', 'selected'],
selected: false
});
I suggest the author to add this trick on the README.md, since l think lots of people will encounter this issue.
The text was updated successfully, but these errors were encountered: