-
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
Hello,
I'm using Tom Select with an input select and the following options:
new TomSelect("#select-state",{ plugins: ['remove_button'], create: true, selectOnTab: true });
But when I select an option, after some digits, using tab, it adds the selected option and an additional option with the searched term.
Registrazione.dello.schermo.2025-09-08.105044.mp4
Expected behavior
The expected behavior should be only the selected option
Steps to reproduce
- Go to https://tom-select.js.org/examples/
- Go to
<select multiple>
example - Click on "Edit" then "CodePen"
- On CodePen edit the JS with the following code
new TomSelect("#select-state",{ plugins: ['remove_button'], create: true, selectOnTab: true, });
- Start to digit (for example: "Ari")
- Press tab button
Additional context
- OS: Windows 11
- Browser: Mozilla Firefox
- Version: 142.0.1 (64 bit)
- Device: PC
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working