on 8.0 version custom editor demo page, select event of 'autoCompleteEditor' is not fired when 'enter' key down on drop down list.
on 6.0 demo page, it works well.
the test code is below.
function autoCompleteEditor( source ) {
return function (ui) {
ui.$cell.addClass('ui-front');//so that dropdown remains with input.
//initialize the editor
ui.$editor.autocomplete({
//appendTo: ui.$cell, //for grid in maximized state.
source: source,
position: {
collision: 'flipfit',
within: ui.$editor.closest(".pq-grid")
},
selectItem: { on: true }, //custom option
highlightText: { on: true }, //custom option
minLength: 0,
select: function(){ //not fired when enter key down
console.log("select event");
},
}).focus(function () {
//open the autocomplete upon focus
$(this).autocomplete("search", "");
});
}
}