Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7738611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:18:40+00:00 2026-06-01T08:18:40+00:00

In my EmberJS application, there are use cases where I want to observe something

  • 0

In my EmberJS application, there are use cases where I want to observe something like ‘@each.score.votes’, to calculate total votes or to return a sorted list etc.

‘@each.score’ is another Ember Object.

However, any observer (or computed property) trying to observe ‘@each.property.another_property’ doesn’t fire at all. See this http://jsfiddle.net/jqTRu/2/

Click ‘Change Votes’ to change votes, but total_votes is not re-computed. However, upon adding a person, it does fire.

Is this a bug, or is there a more sensible way to achieve what I intend? Thanks.

EDIT: Peter’s pointed out that it’s a bug. Christopher’s fix works (as you can see here http://jsfiddle.net/kazim/jqTRu/3/).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:18:41+00:00Added an answer on June 1, 2026 at 8:18 am

    This has to do with setting up a chained observer with ‘@each’ in the path. Basically, what’s happening is that you have a nested array situation, since ‘@each.property’ is evaluated as an array.

    ‘@each.property.@each.some_other_property’ should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use emberjs-data allProcessPointsAreLoaded:(-> @get(reportDefinition.virtualColumns).everyProperty(processPoint.isLoaded, true) ).property(reportDefinition.virtualColumns.@each.processPoint.isLoaded) my property is not updated when processPoint.isLoaded
I have simple view in my Ember.js application, like this. Each content element consists
I followed the example given in ember application stucture guide http://emberjs.com/guides/outlets/ in order to
I'm using http://cloud.github.com/downloads/emberjs/ember.js/ember-0.9.5.js and I'm not sure how to use the mouseenter and mouseleave
I have a situation in a template where I want to use an if
I want to observe adding element to array. below is test program. <!-- library
I have an Emberjs / jQuery Mobile app and I'm trying to use a
I'm slowly moving my rails website from a traditional rails round-trip-for-each-view application to one
I want to serve static webpages for a facebook application via nginx, enable interactivity
In EmberJS I want to create a model that has a field that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.