We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Something like:
var AppState = can.Map.extend({ define: { person: { get: function(lastSetValue, setAttrValue ) { if(lastSetValue) { return lastSetValue; } else if(this.attr("personId")){ Person.findOne({id: this.attr("personId")}) .then(setAttrValue) } else { return null; } } } } });
If personId is set, person will fire two events.
personId
person
The text was updated successfully, but these errors were encountered:
does not dispatch events during a set to a compute backed property for …
aaeaf54
…#1585
justinbmeyer
Successfully merging a pull request may close this issue.
Something like:
If
personId
is set,person
will fire two events.The text was updated successfully, but these errors were encountered: