Hi,
i implemented the simple demo. My code:`
var source = [“United States”,”United Kingdom”,”Afghanistan”,”Albania”,”Algeria”,”American Samoa”,…and more];
$(“#jqxcombobox”).jqxComboBox({ source: source, selectedIndex: 2, height: ’30px’ ,width: ‘100%’, theme: ‘bootstrap’, scrollBarSize:15, dropDownHeight: 450, animationType: ‘fade’, autoComplete: true});
// disable the sixth item.
$(“#jqxcombobox”).jqxComboBox(‘disableAt’, 5);
// bind to ‘select’ event.
$(‘#jqxcombobox’).bind(‘select’, function (event) {
var args = event.args;
var item = $(‘#jqxcombobox’).jqxComboBox(‘getItem’, args.index);
alert(‘Selected: ‘ + item.label);
});
`
When autoComplete:false, so the alert print the selected item, when autoComplete:true the alert print ever “United States” when i selected the item with autocomplete (first item).