Block enter key in combo with gridsuggest?

Is there a way to block the processing of the Enter key in a combo with gridsuggest? Enter’s default behavior closes grid suggest.

When a barcode is scanned the reader appends Enter which causes Webix to close the Grid Suggest; which makes using a barcode reader impossible.

Attaching event handler onKeyPress fires and intercepts code 13, but the grid is already closed before hitting this code path.

‘onKeyPress’: function(code, e) {
if (code == 13)
return false;
},

Currently, there is no way to disable hotkeys in existing suggest boxes, but you can create a custom one and redefine the corresponding$enterKey method:

http://webix.com/snippet/d4f154ec

Thank you, that worked perfectly!