class="radioButton-control" has no effect inside form

Using the template at: 

https://ej2.syncfusion.com/angular/documentation/radio-button/how-to/two-way-binding-using-radiobutton/

we defined a couple of radio buttons. After adding them inside a 

<form [formGroup]="htmlForm">

element the radio buttons do not reset. Pressing one does not "uncheck" the other. They all remain active(see picture below).

Do you have a solution for this situation?

Thank you.



1 Reply

TS Thaneegairaj Sankar Syncfusion Team March 11, 2022 02:39 PM UTC

Hi Dane Sarghe,

We have prepared a sample based on your requirement. Please find the below sample,

Sample: https://stackblitz.com/edit/angular-zlmfg9?file=src%2Fapp%2Fapp.component.ts 

Could you please check the above details and get back to us, if you need any further assistance on this.

Regards,
Thaneegairaj S
 


Loader.
Up arrow icon