In my code I have data for questions which construct a nested form dynamically. there are two types of questions 'Multiple' and 'Single'
I have some code in the link given below for a form in my page. Based on the question type in each questions I might want to show the options if its mat-checkbox or mat-radio button.
https://stackblitz.com/edit/angular-uezhjg
While accessing the FormControlName response_options for question type Multiple I am able to use Mat Check box properly but when I try the same for radio I have a problem this isn't working fine. I have commented the code which does that part. How do I achive this ?