Skip to content
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

AccessKeyed should observe the object[key] #75

Closed
jdanyow opened this issue Apr 22, 2015 · 0 comments · Fixed by #76
Closed

AccessKeyed should observe the object[key] #75

jdanyow opened this issue Apr 22, 2015 · 0 comments · Fixed by #76

Comments

@jdanyow
Copy link
Contributor

jdanyow commented Apr 22, 2015

Currently AccessKeyed sets up an observer for the property that accesses the object instance (scope.object) and the property that accesses the key value (scope.key) but it does not observe the object's property identified by the key.

The current behavior makes sense when the object is an array instance (although it's been argued that Aurelia should use dirty-checking in cases where AccessKeyed accesses an array).

Plunker demonstrating the issue (thanks @mattduffield)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant