Reputation: 616
<angular2-multiselect [data]="listAllCategories" #serviceSubCategoryLists
[settings]="serviceTypeSettings ">
angular2-multiselect [data]="List" loads very slow to dropdown if list is having 1000+ items.
Upvotes: 1
Views: 1716
Reputation: 665
Make use of lazyLoading
in your settings. Which loads data from API asynchronously.
serviceTypeSettings = {
lazyLoading: true
}
plz refer: https://cuppalabs.github.io/angular2-multiselect-dropdown/#/lazyloadingRemoteData
Upvotes: 2
Reputation: 25
Where is data coming from? if you use an API, please check it with Postman, maybe it took time in API layer or server side app
Upvotes: 0