Angular traverses the button button through ngfor, how to click an input box that appears behind him.

angular traverses the button button through ngfor. How to click on an input box that appears after him. I click on one now, and all input boxes appear
< ng-container matColumnDef= "operate" >

.
    <th mat-header-cell *matHeaderCellDef></th>
    <td mat-cell *matCellDef="let row">
      <button mat-button  (click)="onOpenEdit(row)"></button>
      <button mat-button (click)="onDelete(row.id)"></button>
      <input *ngIf="isShow"  [(ngModel)]="row.newsName" name="newsName">
      <button *ngIf="isShow"></button>
    </td>
  </ng-container>



how to click a button appears only one button, the other does not appear

Mar.23,2021

row should set different isShow, for example, when the isShow-$ {row.id}, onOpenEdit (row) method executes, only the current isShow-$ {row.id} value associated with the current row is modified

.
Menu