md-input-container is not working
See original GitHub issueHi,
I just npm installed material. In my package.json this version is stated: “@angular/material”: “^2.0.0-alpha.11-3”
When I try using the md-input-container
as it is described here (https://github.com/angular/material2/blob/master/src/lib/input/README.md), I get this error message:
zone.js:388Unhandled Promise rejection: Template parse errors:
'md-input-container' is not a known element
However, when I use the deprecated md-input
it works.
So what’s wrong? Do I need to use another version of @angular/material?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:8
Top Results From Across the Web
Angular Material 2 md-input-container not working
However, none of what I tried has worked. I'm getting this issue: 'md-input-container' is not a known element. Console issue. HTML:
Read more >Directives - - - md-input-container - AngularJS Material
Input and textarea elements will not behave properly unless the md-input-container parent is provided.
Read more >md-input-container - CodePen
Insecure Resource. The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https....
Read more >Angular Material Inputs - Javatpoint
The angular material input-container is a used to contains any <input> or <textarea> element as a child. It also supports error handling using...
Read more >Input | Angular Material
This error is thrown when you attempt to set an input's type property to a value that isn't supported by the matInput directive....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How are we supposed to use this library if the documentation can’t be trusted?
I solved the same problem. I just imported “MdInputModule” from “@angular/material”