I'm trying to show values in input boxes, but I want according to the amount of value in the list, if there are 2 values, 2 entries will appear with the values in the list
Follow as it is in html:
<div class="form-group" *ngFor="let rastreio of pedidos.rastreio; let i = index">
<input type="text" id="rastreio" [ngModel]="rastreio" name="rastreio"
class="form-control back_imput p-inputtextarea p-inputtext p-component p-element">
</div>
result:
As I want:
If you see it is making the entries according to the amounts of value in the list, but when it goes to add the values in the entries it always puts the last value in all the entries.
This is the list I get:
I really appreciate if anyone can help me


