I have added same child component three times in a single parent component

And below is the change function called on one of the children's components to change the selectedName in other two child components
The @Input is type of string if I change it to object it work fine.

