mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 22:27:39 +00:00
Pass result index to formatResult callback, resolves #485
This commit is contained in:
parent
65f431b7b0
commit
615fd80030
@ -680,7 +680,7 @@
|
||||
html += formatGroup(suggestion, value, i);
|
||||
}
|
||||
|
||||
html += '<div class="' + className + '" data-index="' + i + '">' + formatResult(suggestion, value) + '</div>';
|
||||
html += '<div class="' + className + '" data-index="' + i + '">' + formatResult(suggestion, value, i) + '</div>';
|
||||
});
|
||||
|
||||
this.adjustContainerWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user