V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jiobanma
V2EX  ›  程序员

easyui 的 easyui-combobox 组件的 bug

  •  
  •   jiobanma ·
    banmajio · Jun 29, 2020 · 2431 views
    This topic created in 2139 days ago, the information mentioned may be changed or developed.

    老项目用到了一个 easyui-combobox 的组件,用来实现从远处请求的数据作为下拉框的多选值。 该组件同时可以使用模糊查询匹配下拉选项。但是有个 bug 就是输入搜索值,选择下拉选项后,输入的搜索值依然存在于输入框中。因为这个号不能发图,有懂怎么解决的老哥可以移步 easyui 官网的 demo 中查看。

    http://www.jeasyui.net/demo/323.html

    4 replies    2020-06-29 17:31:33 +08:00
    ryuuuoka
        1
    ryuuuoka  
       Jun 29, 2020
    最简单就是在 onselect 事件里做一次校验
    luman
        2
    luman  
       Jun 29, 2020
    借楼感慨一下。 真没想到现在还能看到 easyui 这个关键词,瞬间想到刚毕业那会儿的时光。
    wgbx
        3
    wgbx  
       Jun 29, 2020
    我看到 easyui 建议你跑路,bug 多还不维护的项目,要是没有手撸源码的实力,真的是太难了,谁毕业那会谁没被 easyui 坑过。。
    neimengwuyanzu
        4
    neimengwuyanzu  
       Jun 29, 2020
    哇。。。看到这个 lib 都头皮发麻
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 118ms · UTC 17:31 · PVG 01:31 · LAX 10:31 · JFK 13:31
    ♥ Do have faith in what you're doing.