Upon successfully retrieving around 14000 data entries from an HTTP request, I am facing difficulties loading this vast amount of data into my Select Tag. This is causing the entire page to slow down. The structure of the select Tag in question is as follows:
<ng-container *ngIf = "merchantTitle!=null">
<select #merchantId="ngModel" class="form-control" name="merchantId" [(ngModel)]="clubDiscountContractReportModel.merchantId" style="margin-right: 28px;" (change)="onMerchantChange($event.target.value)">
<option *ngFor="let merchant of merchantTitle" [value]="merchant.merchantId" [selected]="clubDiscountContractReportModel.merchantId == merchant.merchantId">
{{ merchant.merchantTitle }}
</option>
</select>
</ng-container>
Is there a potential issue with my Select Tag or any alternative methods to address the sluggish UI rendering caused by loading large amounts of data?