Open the drop down list permanently of select2

匿名 (未验证) 提交于 2019-12-03 00:46:02

问题:

I'm using select2 for multiple value selection. I need to display the drop down list permanently.

Right now when we select or click the input box of select2, the drop down list is displayed. I'd like to know if there is any way we can always show the list.

回答1:

From the select2 documentation, here:

    $("#select").select2({             closeOnSelect: false     }); 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!