Prefetch autocomplete offers
Prefetch autocomplete offers
When searching, the autocomplete options can be a bit frustrating because you will be offered choices that won't yield a result. This addon searches for the term in the background and only offers an option if this search has a result.
Usage
Known issues / Roadmap
some searches (especially via function fields) can be very heavy on the server. To disable prefetching on a per field basis, set the optionweb_search_autocomplete_prefetch.disable:
options="{'web_search_autocomplete_prefetch.disable': true}"
on your field in the search view.
by default, the addon triggers a search 350 milliseconds after the last key pess. If you want a different timeout, set the parameterweb_search_autocomplete_prefetch.keypress_timeout to the amount of milliseconds you need as timeout.
some searches (especially via function fields) can be very heavy on the server. To disable prefetching on a per field basis, set the optionweb_search_autocomplete_prefetch.disable:
options="{'web_search_autocomplete_prefetch.disable': true}"
on your field in the search view.
by default, the addon triggers a search 350 milliseconds after the last key pess. If you want a different timeout, set the parameterweb_search_autocomplete_prefetch.keypress_timeout to the amount of milliseconds you need as timeout.
Bug Tracker
Bugs are tracked on . In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
Bugs are tracked on . In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
Credits
Contributors
- Holger Brunn <>
- Holger Brunn <>