Angular 6 how to make all input's Not editable element inside a form
问题 Is there a way to disable and make all fields non editable (input / mat-select / textfield / option/input/mat-checkbox etc) inside a Form by telling only the parent div name in Angular / Angular-material ? (cannot editing them) @Component({ templateUrl: './leaseholder.component.html' }) export class LeaseholderComponent implements OnInit, IFormDirtyWarningComponent { leaseholderForm: FormGroup; constructor(private router: Router, private formBuilder: FormBuilder) { this.createLeaseholderForm(