I have this input which are created dynamically from list column
, now I need to get all values of the inputs when some method occurs( imagine getAllValues()
)
<div *ngFor="let cell of column; let i = index;">
<!-- Material design input-->
<md-input type="{{cell.type}}"
value="{{getInputValue(cell)}}"
[placeholder]="cell.label">
</md-input>
</div>
Which would be the angular2 way of getting the values of all the generated inputs?