Angular 6 how to make all input's Not editable element inside a form

后端 未结 7 1374
孤街浪徒
孤街浪徒 2021-02-19 18:15

Is there a way to disable and make all fields non editable (input / mat-select / textfield / option/input/mat-checkbox etc) inside a Form

相关标签:
7条回答
  • 2021-02-19 19:11

    enter image description here

    Use readonly attribute in the HTML file inside the input tag.

    0 讨论(0)
提交回复
热议问题