I love the select2 script. Really useful and nifty. Now, I'm quite curious to get an answer on this: http://stackoverflow.com/questions/14577014/select2-dropdown-but-allow-new-values-by-user
"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 support this if you are using it in tokens mode, but is there a way to do it without having tokens?"
Would be nice if this was easily configurable as some kind of setting. Currently it has to be a value in the dropdown, but it would be nice if I could set something like "allowAny" or something and allow whatever I typed in.
Thanks!
Error: Option 'createSearchChoice' is not allowed for Select2 when attached to a <select> element.
What do you attach select2 too? Creating a div around the select element?
I attach it to a simple input field, I'll post the html in a bit
Diego
Sent from my android cell
Could you be so kind and post a complete working example?