0
我一直在select2
中遇到此问题。我不能表现出最初的标签,如图select2
的主页:Select2初始标签
<input width="100px" type="text" id="e12">
<script>
$(document).ready(function(){
$("#e12").select2({multiple:'true',tags:["red", "green", "blue"]});
});
</script>
但‘颜色’显示当且仅当我开始打字。否则,输入是空白的。