首页 > EasyUI中combobox对中文检索的问题,不知道大家是怎么解决的?

EasyUI中combobox对中文检索的问题,不知道大家是怎么解决的?

EasyUI中combobox检索的时候,输入中文不会立即检索,必须要再敲一下键盘才行。。。
不知道大家是怎么解决这个问题的呢?????
我的EasyUI的版本是1.4.1


你是怎么解决的那 我也遇到了


if(opts.editable){
    if(_921.timer){
        clearTimeout(_921.timer);
    }
    _921.timer=setTimeout(function(){
        var q=t.combo("getText");
        if(_921.previousText!=q){
            _921.previousText=q;
            t.combo("showPanel");
            opts.keyHandler.query.call(_920,q,e);
            t.combo("validate");
        }
    },opts.delay);
    _921.combo.bind("input", function (e) {
        if(_921.timer){
            clearTimeout(_921.timer);
        }
        _921.timer=setTimeout(function(){
            var q=t.combo("getText");
            if(_921.previousText!=q){
                _921.previousText=q;
                t.combo("showPanel");
                opts.keyHandler.query.call(_920,q,e);
                t.combo("validate");
            }
        },opts.delay);
    });
}

1.4.2

【热门文章】
【热门文章】