-
Notifications
You must be signed in to change notification settings - Fork 25
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
Associations are not two-way binding #11
Comments
You're right, even though this service was made for sailsjs 0.10, I didn't consider the binding of associations... let me think you that could be accomplished. Or if you have any starting idea, drop it here. |
My experience was that it's quite difficult to work with populated data in conjuction with two way data binding. In order to change the associated object the populated data must be overwritten with the new Id. tree.rings.Id = 1 // wrong My solution was to deactivate popolation, bind the needed associated models also and to lookup the associated data by using an own angular filter whenever needed |
@artur-krueger Do you have any plunkr or any code you can paste in here to show how this can be done? Not sure what you mean about changing the associated object. Also, what do you mean about "looking up data by using an own angular filter"? |
The associations show up as a model, but they aren't updateable. |
mmmm... so, the sails-angular-bind plugin should do the "off" over population of associated models? |
If I have something like
and I...
The trees are two-way binding, but the rings are not.
The text was updated successfully, but these errors were encountered: