我已经使用创建了一个select2小部件tags:true。有没有一种方法可以通过单击下拉菜单中的所选项目来防止标签被删除,从而只能通过单击标签中的叉号来删除标签?
tags:true
jquery jquery-select2
jquery ×1
jquery-select2 ×1