@muru1778 wrote:
Hi all,
I am using ChangeDetectorRef - detectChanges in the parent view to detect the changes
The parent view has one child component. The child component receiving the input using following format (setter).set name(name: string) { this._name = name }
But if there is any changes in the parent view child component gets duplicated sometimes in the parent view.If i am not using ChangeDetectorRef - detectChanges the child view not get duplicated.Here i attched the sample view
Posts: 1
Participants: 1