I am trying to use angular material mar-radio-button to select between true and false. I have set default value but when I click on other radio button, it gives the value of the default selected value. My Html
Component
So the value of the false is automatically set and if I select value of true it still prints out false.
I am using
console.log(this.shippingForm.get('signatureReq').value) to print out the value.
Error: formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup
Also, if possible, please consider creating a stackblitz. – SiddAjmera