In my project, I have a parent component containing three radio buttons named child-one, child-two, and child-three. When one of these radio buttons is clicked, the respective child component is displayed. Each child component has a radio button with options Yes and No. If this radio button in the child component is clicked, the click event for the corresponding radio button in the parent component disappears.
To pass data between components, I am using @Input and @Output directives to emit the child component data.
It is important that when either a parent component radio button or a child component radio button is clicked, the radio button selection should not reset.
You can find the code for this issue here.