I have an object coming from the bank that I show in the view in a ngFor.
I want to pass this value to the save component in the database and I'm not sure how.
<form #f="ngForm">
<div *ngFor="let item of dados">
<ion-input type="hidden" [value]="item.nomeProduto"></ion-input>
<h2>{{item.nomeProduto}}</h2>
</div>
<button ion-button full block color="danger">CADASTRAR</button>
</form>