https://stackblitz.com/edit/angular-7aqzj2
places = ['effil tower','new discover']
new FormGroup({place: new FormControl()});
<div *ngIf="places?.length > 0" class="col-12">
<div style=" padding-top: 1em; ">
<label *ngFor="let place of places">
<input formControlName="place" type="radio">{{place}}
</label>
</div>
</div>
I am trying to add the radio button with the same form-control name and the value is coming through services.
while doing so it has the same form-control name so getting selected both at a same time.
is there any way to differentiate both and select one at a time?