combo's suggest issue

webix v4.0
hello,

  1. when I type Chinese characters into combo text box,it should be suggest the matched string, but sometimes it suggest the en characters which should be cn characters.
  2. when I paste the text string into combo text box with right mouse button,it can’t suggest.

http://webix.com/snippet/58d2a952

I suggest:
In the webix source code ,

`
webix.protoUI({
  name:"suggest",
...
   linkInput: function(input){
...
 webix.event(node,"keydown",function(e){ 
...

  }
})
`  

the upper code replace ‘keydown’ with ‘input’ , the issue will resolve.
thanks.

Hello,

In fact, you can control matching process with the help of advanced combo configuration. Here’s the snippet with the default filter function, so you can try altering it: http://webix.com/snippet/94f10ce0

thanks Helga,
and the second question:
when I paste the text string into combo text box with right mouse button(without keyboard operating),it can’t suggest. http://webix.com/snippet/94f10ce0

You can add this behaviour by adding a handler to an “input” event:

webix.event($$("mycombo"), "input", function(){
        var list = $$("mycombo").getList();
        var value = $$("mycombo").getInputNode().value;
        list.filter("value", value);
});

Please, check it in the snippet: http://webix.com/snippet/276e2268

thanks.