在Angular2中动态设置ngModel值

时间:2016-06-16 08:30:10

标签: angularjs ng-grid angular-ngmodel ngfor

有没有一种方法可以动态设置ngModel的值?例如

<h1>please fill the text</h1>
<div *ngFor="#value of columnsNames">
    {{value }}<input type = "text" [(ngModel)]="SomeDynamicValue">
</div>

1 个答案:

答案 0 :(得分:1)

JTextArea
相关问题