Getting object properties via ngModel select list in Angular 2?

前端 未结 2 2147
情歌与酒
情歌与酒 2020-12-15 19:23

I\'m have a problem fetching the properties of an object which has been selected from a select list in Angular 2 (RC1). Take the following syntax:

 
  
  

Plunker example

model needs to point to one of the elements in plans to work as default value (it needs to be the same instance, not another instance containing the same values).

提交回复
热议问题