You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all I apologize for my bad English.
I'm using bootstrap select for my project and when I have large data, the bootstrap select is loading very very slow. So I searched for solutions and I found 2 options:
1- Loading the options after searching
I may load the options only when the search module is used, minimuminputlength for search should be 3.
These examples are for select2 but I'm using bootstrap and don't want to change it. Is there any way I can speed up my loading in bootstrap like in the examples above? Especially the first option would be more beneficial.
I sincerely ask for your help and thank all of you in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
First of all I apologize for my bad English.
I'm using bootstrap select for my project and when I have large data, the bootstrap select is loading very very slow. So I searched for solutions and I found 2 options:
1- Loading the options after searching
I may load the options only when the search module is used, minimuminputlength for search should be 3.
The example I found:
https://jsfiddle.net/NabiKAZ/2g1qq26v/32/
2- Lazyloading
For example I have 1000 data to load but I want only the first 30 to load at first, and the rest should be loading as I scroll.
The example I found:
https://embed.plnkr.co/db8SXs/preview
These examples are for select2 but I'm using bootstrap and don't want to change it. Is there any way I can speed up my loading in bootstrap like in the examples above? Especially the first option would be more beneficial.
I sincerely ask for your help and thank all of you in advance.
Beta Was this translation helpful? Give feedback.
All reactions