'Set value of radiobutton Angular

I'm trying to bind radiobutton to data this ways but no radio button is checked:

<div class="row data-row" *ngFor="let component of data">
            <div class="form-check form-switch">
                           <input type="radio" id="radio_true_{{component.crmField}}" name="{{component.crmField}}"  [value]="1" [checked]="component.value === 1"> Yes
                           <input type="radio" id="radio_false_{{component.crmField}}" name="{{component.crmField}}" [value]="0" [checked]="component.value === 0"> No
   </div></div>

What I'm doing wrong ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source