How to edit or add one row at a time using reactive forms in angular8
问题 I have a list of data, when i click on rows, all the rows are editable and when i click on edit button of the expanded row, all the rows will have the same value as in the first row, but that shouldnt happen.One row can be editable at a table, when clicked on edit button in the expanded row, add new should also not be done. But i am going wrong somewhere, can anyone help me. DEMO: DEMO TS: eoEdit(eo) { console.log(eo) this.eoDetailsList = eo this.hideEoView = false; this.initEoForm() } HTML: