Radio group

@for (item of sampleValues; track item) {
} Please make a choice.

Form value: {{ testForm.value | json }}

Form status: {{ testForm.status | json }}


Checkbox

This is required.

Cross field validation Checkbox

@if (testForm3.invalid) {
Need to select 2 options
}

Form value: {{ testForm3.value | json }}

Form status: {{ testForm3.status | json }}

heart status: {{ testForm3.get('heart')?.status | json }}

car status: {{ testForm3.get('car')?.status | json }}