ng-reflect-model shows correct value but not reflecting in input

前端 未结 3 1131
没有蜡笔的小新
没有蜡笔的小新 2021-02-04 06:16

Encountered a very weird issue where my application misbehaves in a very specific user case. I have a portal where users can add questions and answers and then edit them. In thi

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 07:08

    else you can use

    *ngFor="childItem of parentArray; index as i;"
    

    and

    [attr.data-target]="'#test' + i"
    

    and

    name="test{{i}}
    

提交回复
热议问题