I'm encountering an issue with angular-material2 where I'm trying to use an input. However, none of what I tried has worked.
I'm getting this issue:
'md-input-container' is not a known element

HTML:
<md-input-container>
<input mdInput placeholder="Favorite food" value="Sushi">
</md-input-container>
I imported this in my component.ts and in my app.ts:
import { MdInputModule } from '@angular/material';
and I declared it in my 'imports' in @NgModule in app.ts
My version of material is @angular/[email protected]
Thanks for your help.
EDIT : I found that I imported it in the app.module.ts which imported another module where I needed to put the declarations. My code is a bit messy, I need to clear it up. Sorry for this my friends. Case closed.
md-input-container? - yurzui