简体   繁体   English

bootstrap 4 双列表框插件搜索无法正常工作?

[英]bootstrap 4 dual listbox plugin search is not working properly?

When i use filter option in bootstrap 4 dual listbox, if the 2 result appear and i select 2nd option automatically 1st option in added to list.当我在引导程序 4 双列表框中使用过滤器选项时,如果出现 2 结果并且我 select 第二个选项自动将第一个选项添加到列表中。

https://www.jqueryscript.net/demo/Responsive-jQuery-Dual-Select-Boxes-For-Bootstrap-Bootstrap-Dual-Listbox/ https://www.jqueryscript.net/demo/Responsive-jQuery-Dual-Select-Boxes-For-Bootstrap-Bootstrap-Dual-Listbox/

Open above link and type Option 1 in 1st filter list "Option 1" and "Option 10" will appear.打开上面的链接并在第一个过滤器列表中键入选项 1“选项 1”和“选项 10”将出现。 click on "option 10" "option 1" will be added to list.单击“选项 10”“选项 1”将被添加到列表中。

Many users reported the same problem.许多用户报告了同样的问题。 Please refer the link请参考链接

github issue reference github 问题参考

You can try the solution in the below link您可以尝试以下链接中的解决方案

solution 解决方案

$(document).on('mouseover',"select",function(){
   $(this).parent().find(".filter").blur();
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM