Mat Input Container Is Not A Known Element

If mat label is an angular component then verify that it is part of this module.
Mat input container is not a known element. If md option is a web component then add custom elements schema to the ngmodule schemas of this component to suppress this message. Mat form field is not a known element. But i have already imported all the necessary components from the angular material directive. Menu is collapsed on smaller screens and replaced by the hamburger menu which slides out on click.
Mat form field is not a known element. If mat grid tile is an angular component then verify that it is part of this module. If mat form field is an angular component then verify that it is part of this module. And the same input field code was not working inside the dialog file.
How ever when i tried to debug i found that the input skin of the angular material theme was applied on the app module html file. Ok so the hidden md up is a bootstrap css class which serves as a responsive utility and hides element on every display which is at least medium size or bigger. If mat form field is an angular component then verify that it is part of this module. Mat input is not a known element.
If mat label is a web component then add custom elements schema to the ngmodule schemas of this component to suppress this message. If mat form field is a web component then add custom elements schema to the ngmodule schemas of this component to suppress this message. If mat form field is a web component then add custom elements schema to the ngmodule schemas of this component to suppress this message. If md option is an angular component then verify that it is part of this module.
My code was as mentioned below. If mat input is a web component then add custom elements schema to the ngmodule schemas of this component to suppress this message. Mat grid tile is not a known element. If mat input is an angular component then verify that it is part of this module.
Mat label is not a known element. Md option is not a known element.