I have two questions:
If we send any variable from parent to child and than any changes (let's say value change) in Child component. This changes will automatically reflects in Parent component or not? if not how can I reflect back?
I have a demo for this in which Parent comp is sending an array to child as (child has add/edit functionality). Whenever I am adding or updating any element changes is being reflected in parent comp as well (I am displaying listing in parent template).
So initially I thought that I don't need to care about sending changes back to parent as it's already working.
However, for update I have used 2 variables editForm and edit_id which is also sent by parent to child on update when I am setting editForm = false and edit_id = 0. Changes not reflected in Parent only child variables changed.
So both are confusing me now.
What might be wrong here? Below is the link where you can find my code: