mat radio button form control angular 8 code example
Example 1: radio button in reactive forms angular material
<mat-radio-group formControlName="options">
<mat-radio-button value="1">Option 01</mat-radio-button>
<mat-radio-button value="2">Option 02</mat-radio-button>
</mat-radio-group>
Example 2: radio button in reactive forms angular material
constructor(private fb: FormBuilder) {
this.myForm = this.fb.group({
options: ['1']
})
}