selectize / selectize.js

Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.
https://selectize.dev/
Apache License 2.0
13.03k stars 3.57k forks source link

Text removed when hitting tab #386

Closed mtjohnson closed 8 years ago

mtjohnson commented 10 years ago

Even with create = true and createOnBlur = true, typing in a new entry into the selectize control and hitting tab results in the text being removed. Is there a workaround for this?

ryanwersal commented 10 years ago

I wonder if this Pull Request may be causing it to incorrectly try to select an existing option. It may be worth commenting out those lines and seeing if you can still reproduce your issue.

brianreavis commented 10 years ago

I'm having trouble reproducing this. If it's a duplicate (dictated by valueField), it will be ignored and cleared – otherwise it should be added. Can you post your full configuration?

joallard commented 8 years ago

As we have many issues and not heard back, I'll close this for the time being. If you still need help, please reopen this and a Jsfiddle/Codepen would help immensely.