You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the text search field in Tom Select.js, the entered search query remains in the input field after selecting an option. This requires the user to manually clear the existing text before searching for another option. No errors are logged in the console during this behavior.
Expected behavior
After selecting an option:
The text search field should automatically clear.
The user should be able to start typing a new search query without manual input clearing.
The correct behavior is observed everywhere on the official site https://tom-select.js.org/, but the person who wrote the example seems to have manually worked around the bug by adding the following to the options.
Start searching for an option. For instance, type "or"
Click the first proposition
After clicking, the search box displays a confusing message saying "No results found". Of course a result was found: I just clicked it! Now if I want to search for a new option, I have to manually delete the "or", then start typing the new option
Bug description
When using the text search field in Tom Select.js, the entered search query remains in the input field after selecting an option. This requires the user to manually clear the existing text before searching for another option. No errors are logged in the console during this behavior.
Expected behavior
After selecting an option:
The correct behavior is observed everywhere on the official site https://tom-select.js.org/, but the person who wrote the example seems to have manually worked around the bug by adding the following to the options.
In my opinion, the behavior exhibited on the official site is correct and should be the default.
Steps to reproduce
Additional context
Intially reported in sqlpage/SQLPage#704
The text was updated successfully, but these errors were encountered: