I am trying to insert an input field in 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:
md-form-field must contain a MdFormFieldControl. Did you forget to add mdInput to the native input or textarea element?