0

I was working on this form using reactive forms from Angular and everything was working fine but then I started to use Angular Material for radio buttons and the logic that I wrote stoped working. Any recommendation? The commented code on the file child.component.html is my original code .

MY CODE

1 Answer 1

1

Check your code. You have to put formControlName at radio-group so can give values at radio button

 <mat-radio-group
      aria-label="Select an option"
      formControlName="titleAction"
    >

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! the solution was so simple haha