Q:

I want to share form(textarea) value in angular

I want to share form value in angular.
There is a FormGroup defined in main-component.
This is used in aaa/bbb-component.
I want to reflect the contents entered in the textarea of aaa-component to the textarea of bbb-component. Is there any method?

Source code is available on stackblitz.
Angular: 8.2.14

A:

@otera I'm not sure what you need. But change the Textarea HTML to the desired output.
Note - Add value [value]="item.value" tag in both aaa/bbb-component HTML files.
<textarea [formControlName]="i" rows="5" [value]="item.value"></textarea>

