Changes between Initial Version and Version 1 of Ticket #38211, comment 18
- Timestamp:
- 01/09/2017 07:40:27 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38211, comment 18
initial v1 1 1 [attachment:38211.3.diff] Is an alternate approach that limits searching until you type at least 2 characters, and dynamically removes the autocomplete attribute before the ajax search kicks in. We use a similar approach in `nav-menus.js`. 2 2 3 This gives you one character to type in and see/select autocomplete results, once you hit 2 characters, the ajax search kicks in and autocomplete has been disabled for the field. You can override the threshold by setting wp.updates.searchMinCharactersafter the JS loads.3 This gives you one character to type in and see/select autocomplete results, once you hit 2 characters, the ajax search kicks in and autocomplete has been disabled for the field. You can override the threshold by setting `wp.updates.searchMinCharacters` after the JS loads. 4 4 5 5 @mklusak & @finalwebsites & @armandsdz can you test this out and see what you think?