Maybe I am trying to solve a problem in wrong way. I want to transfer data between two child-components through parent component.
I have a parent component(A) and two child-components(B,C). I want to emit an event from one child (B) and handle it in parent (A) and then pass it's content as input to other child (C). But I can't get this to work. I get the value in the parent (A) but when i use below code in parent to pass data to other child (B) the input is undefined or zero and there's no value in the event.
<workorders-details (pushedWorkOrderKeyEvent)="setDetails($event)" [myinput]="($event)"></workorders-details>
I have also tried to set a value to event in method setDetails(event) in the component and set [myinput]="value", but nothing works.