0

I have created an angular 6 app for generating the reactive form dynamically from a json object. But for the radio type ONLY it showing some error like

ERROR Error: mat-form-field must contain a MatFormFieldControl.

stackblitz LINK

Did I miss any attribute/key in the html template??

Jobelle
  • 2,717
  • 1
  • 15
  • 26

1 Answers1

0

This error will happen if you forget to put the material tag (such as matInput) for the input inside the mat-form-field.

Mohammad Awwaad
  • 431
  • 3
  • 12