-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After selecting an item, the typed characters are still visible #543
Comments
Yes please, a setting would be great here, as this is really a disturbing feature. |
While I agree this should be default behavior, the example on the Tom Select landing page solved this issue for me. Here is how the codepen example used onItemAdd and setTextboxValue to clear the typed characters.
|
Wow, that is simple, thanks for sharing @bdkruse 👍 It does the job, let's hope it has no strange side effects... |
@bdkruse has a good start but I needed to add onItemAdd: function() {
this.setTextboxValue('');
this.refreshOptions(false);
} |
@jclusso Thank you! |
I'm using the mutliple select mode and it does work very well. But after selectng the right word in my list of tags, the characters I typed are shown behind the tag. If I am searching for similar words, this is fine. But if I want to select another quite different tag, it would be better if the typed characters were not shown.
May be an option "clear input after selecting" would be possible.
The text was updated successfully, but these errors were encountered: