Whenever the page loads, I always notice that the last radio button is automatically checked. I believe it has something to do with the Id attribute, but I'm struggling to find a solution.
countryArray
countryA = [{name : "Finland"}, {name : "china"},{name: "USA"}]
test.html
<form #filterForm="ngForm" (ngSubmit)="addFilter(filterForm)" autocomplete="off">
<div class="row">
<div class="col-12" style="border: 1px solid red">
<div *ngFor="let x of country">
<label for="{{x.name}}"> {{x.name}} </label>
<input type="radio" id="{{x.name}}" value="{{x.name}}" name="countries" [(ngModel)]='x.name' >
</div>
</div>
<!-- <div class="col-12" style="border: 1px solid red">b</div>
<div class="col-12" style="border: 1px solid red">c</div>
<div class="col-12" style="border: 1px solid red">D</div> -->
</div>
</form>
hh : {{filterForm.value | json}}