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
Since many of these answers don't work in 4.0+, if you are using ajax, you could have the server add the new value as an option. So it would work like this:
[{"text":" my NEW option)","id":"0"}]