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

前端 未结 3 1132
没有蜡笔的小新
没有蜡笔的小新 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条回答
  •  离开以前
    2021-02-04 07:09

    In case if you are using nested ngFor then name attributes might not unique. It should be unique. So suffix name attribute with indexes of for loop to make it unique.

     
    First Name: Last Name:

提交回复
热议问题