I am facing a situation where I have radio buttons in my HTML code. The radio button options are as follows:
<mat-radio-group aria-label="Availability for joining" formControlName="availabilityGroup">
<mat-radio-button value="1" [checked]='true'>Immediate</mat-radio-button>
<mat-radio-button value="2">1 Month Notice</mat-radio-button>
<mat-radio-button value="3">3 Month Notice</mat-radio-button>
</mat-radio-group>
My requirement is to fetch the selected radio button value by the user, and I need to access this value in my typescript file once the user clicks on the SAVE button.
Can someone guide me on how to achieve this?