I am trying to insert an input field into my component using angular-material2 . This is my HTML:
<md-form-field> <input type="text"> </md-form-field>
In the console, I get this error, but I donβt understand why I get the error:
Fieldmd-form should contain an MdFormFieldControl. Have you forgotten to add mdInput to your own input or textarea element?
annie source share