Select2 dropdown but allow new values by user?

前端 未结 9 1471
灰色年华
灰色年华 2020-11-27 10:09

I want to have a dropdown with a set of values but also allow the user to \"select\" a new value not listed there.

I see that select2 supports this if you are using

9条回答
  •  广开言路
    2020-11-27 10:33

    There is a better solution I think now

    simply set tagging to true on the select options ?

    tags: true
    

    from https://select2.org/tagging

提交回复
热议问题