I designed custom radio button, this is working proper in static but when i make dynamic, that time it act like checkbox.
<div *ngFor="let currentwork of currentworks">
<label class="customcheck">{{currentwork}}
<input type="radio" name="{{currentwork}}">
<span class="checkmark"></span>
</label>
</div>
If I put name={{currentwork}}, it will act like checkbox. I want radio button with one selection. I don't know why it's coming like this, please help me.