Select2 start with input field instead of dropdown

前端 未结 11 899
太阳男子
太阳男子 2020-12-08 06:44

I use the js library select2. This is a screenshot of what I have now:
Start:
\"enter

11条回答
  •  爱一瞬间的悲伤
    2020-12-08 07:26

    The only workaround that I could come up with is to use both multiple: true and maximumSelectionSize: 1 when setting up.

    Please see my example here: http://jsfiddle.net/DanEtchy/Lnf8j/

提交回复
热议问题