, W3Schools is optimized for learning and training. Sets the readonly attribute on the element, if the expression inside ngReadonly is truthy. @stefanneculai your answer works but it also disables the full screen mode, I want it to be readonly, but with fullscreen mode, any idea? To use MatInput we need to import MatInputModule in application module. We will bundle all of this Angular Material Form Controls examples in one application. Text View The TextView component can be used to type larger text content in your app. Angular Material provides MatInput Directive to create and