Angular 2 Form Validation Error “Unhandled Promise rejection: Cannot assign to a reference or variable!”

前端 未结 6 1034
面向向阳花
面向向阳花 2020-12-11 15:22

App.component.html



        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-11 15:52

    This error can popup with different causes. The one I found involves the use of ngFor. In particular, when binding ngModel to the iteration variable:

    This kind of pattern will trigger the same cryptic error.

提交回复
热议问题