jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

Adds optional function "transformQuery" to manipulate the query

Open bambax opened this issue 11 years ago • 0 comments

transformQuery is an optional function that is run in getQuery and does nothing by default. It's useful for example to "slugify" the query so that accents are removed before the query is analyzed for matches, etc. (See underscore-string for an example of a slugify function).

bambax avatar Apr 01 '14 17:04 bambax