Open sugaaloop opened 8 years ago
You can use remote
option and fetch data on demand rather than loading all data first.
Thanks for the idea @Nishchit14, however, loading data is not the bottleneck. Creating the select, and I suppose the several ng-repeats, is where the slowdown occurs.
Yes @sugaaloop, I think so too, but I don't have the time to understand how to pack a fix to improve performances. If you have any idea or you are interested in contribution you're always be welcome! :)
You can still use the remote option and filter your options within it to only return a few of them that match the user input, instead of the huge list.
This is fixed in a high performance variant/fork of the same component: https://github.com/jkodu/angular-selector-on-steroids
Refer enhanced example page - https://jkodu.github.io/angular-selector-on-steroids/ (allow unsafe scripts).
I'm having performance issues when the option list is 500+ in size, any suggestions of how I could research improvements? Love the tool, by the way.