1
I have the following HTML code for the list:
<select data-placeholder="Origem" id="origemNew" (click)="SelecionaOrigem($event,oportunidadeNew.operacao,true)" class="chosen-select col-md-12">
<option value=""></option>
<option *ngFor="let item of estabelecimentosOrigem" value="{{item.id}}" >{{ item.nome }}</option>
</select>
Where the data is loaded when entering the screen to "estabelecimentosOrigem" to popular the list, but today uses a query that returns all the data at once, leaving the screen slow.
What I need is that using a paged method (already created), at the end of the list the component calls the method in the file . ts again to popular more records and so on to make the loading more agile.