Thanks for your reply!
I saw this, but it does not fit, or am using this not correct…
Usercase:
I got different cards with questions. The User now can give to each question an answer (checkbox values). These answers are stored in the child Observable (each question got one Observable).
The Problem now is ,when I give for the first one an answer, all other answers are also set
I need the parent Observable, because the answers are also dynamically generated.
I dont want to create manually Observables for each, because I do a fetch and the numbers of questions ist different…
I hope you know what I mean
So I want a copy of an Observable (of the parent) but not as a Subscriber to this, just as a complete new Observable.
I resolved it by keeping only the most relevant property for me to observe, which is the selected answer for each question, I added a nested reference to that parent observable property to play with. There is a possibility for cyclic dependency if you make the parent arrays observable also, but I don’t think you will need to change the questions and answers in your case.
I am not sure it’s the best solution, so if anyone can correct me or complete with further insights.
In your example I want to store this Observable in the “question” Array. And when I click in on an answer the value for “active” changes from false to true. But I need a copy of that answer Observable, not a reference to that.