Good evening, I'm finding it difficult to work with the radio buttons of my angular form. I need to get the values from my radio buttons, but no solution found here works, neither with jquery nor with pure javascripty. Here is the code:
<mat-radio-group class="posicao" name="G>
<mat-radio-button class="margem" name="G1" value="1">1</mat-radio-button>
<mat-radio-button class="margem" name="G2" value="2">2</mat-radio-button>
<mat-radio-button class="margem" name="G3 value="3">3</mat-radio-button>