Opened 3 years ago

#15383 new bug

AutoComplete inside keyup event not working properly

Reported by: Arunberlin Owned by:
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:


Autocomplete list doesn't shows up when first key is entered. The list is shown only after entering the next key. Sample code is given below

$("#AutoComplete").on('keyup', function (event) {

if ($("#AutoComplete").val().length <= 5 ) {




function GetData() {


type: "POST", url: "../Controller/function", contentType: "application/json; charset=utf-8", data: '{"key":"' + $("#AutoComplete").val() + '"}',

dataType: "json", success: function (data) {

var output= $.map(data, function (item) {

return {

label: item.Name, value: item.ID




source: output, autoFocus: true,





Change History (0)

Note: See TracTickets for help on using tickets.