Issue
I am using mat-radio-group to have multiple radio buttons but I am unable to select/check multiple radio buttons (radio buttons are generated by iterating through an array). I have also tried coding it so that the radio buttons all have the same name but I am still unable to select multiple values.
<mat-radio-group [(ngModel)]="question.answered" fxFlex>
<mat-radio-button [disabled]="result" name="test" class="example-radio-button" [value]="answer"
*ngFor="let answers of question.getanswers">
{{answers}}
</mat-radio-button>
</mat-radio-group>
What is it I am doing wrong?
Solution
Radio buttons are not supposed to be multi-selectable. You want some checkboxes instead.