Replies: 2 comments
-
Can you put together a small example on jsfiddle (or similar)? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is my bad. When you start searching it selects the best match, which made it look like everything I searched for was selected. Doh. Sorry. However, it seems like I still need |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I update the value of my single value tom select based on a value from a different select. I use
setValue()
to make this happen and everything looks fine, until I open the dropdown and the old value is still selected in the list of options. I added aclearCache()
after it and it seems to partly fix it, until I start typing and both the old and the new values are selected in the dropdown list. What's the proper way of doing this? Is there a search cache that needs to be cleared as well?window.myTomSelect.setValue(event.detail.updatedTimezone); window.myTomSelect.clearCache();
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions