In my html :
<input #myRadio type="radio" name="category" id="work-time" />
<button (click)="myClick(myRadio)">save</button>
In my component:
myClick(_myRadio:HTMLElement)
{
}
I have tried to save the result in a boolean type variable, but there is no attribute isChecked or Value, so I am stuck in this.
How to check if the radio button is checked on the button click by the user?