I am using Select2 plugin to enable search in the select tag. I have a large number of options (5000+), and it makes a small delay when the select tag is clicked.
Is there any way to limit the number of items loaded, but should show when the user search.
Note : I use ajax and php to append options.
Any help would be appreciated.