wallacepos
wallacepos copied to clipboard
Auto-complete selects for large datasets
This may be an improvement in future to handle large datasets (.e.g > 50000 items in a select).
Instead of select2(...), the library below can be used, each time a key is typed, a list will be fetched, limited to X rows (X can be configurable).
https://cdnjs.cloudflare.com/ajax/libs/jquery.devbridge-autocomplete/1.2.23/jquery.autocomplete.min.js