We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d902b commit bd25b4dCopy full SHA for bd25b4d
src/jquery.autocomplete.js
@@ -580,7 +580,7 @@
580
that.currentRequest = $.ajax(ajaxSettings).done(function (data) {
581
var result;
582
that.currentRequest = null;
583
- result = options.transformResult(data);
+ result = options.transformResult(data, q);
584
that.processResponse(result, q, cacheKey);
585
options.onSearchComplete.call(that.element, q, result.suggestions);
586
}).fail(function (jqXHR, textStatus, errorThrown) {
0 commit comments