[英]Select2 doesn't work when embedded in a popup
When i use select2 in a popup screen for select countries, i can't text anything into it.当我在选定国家/地区的弹出屏幕中使用 select2 时,我无法向其中输入任何文本。 The select2 field link a disabled field.
select2 字段链接禁用的字段。 But no problem in the selection process.
但是在选择过程中没有问题。 Outside the popup it's works fine.
在弹出窗口之外它工作正常。
use
用
$(document).ready(function() { $(".abcclass").select2(); });
for better follow these links select issue select bootstrap model为了更好地遵循这些链接选择问题选择引导模型
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.