tom-select

How to disable the ability to search


Easiest question ever, I looked at the documentation but can't find the answer. Is there an option to disable the ability to search when clicking the select?

Thanks!


Solution

  • as I'm not allowed to add a comment here is the answer:

    https://tom-select.js.org/docs/#controlinput

    when you set controlInput: null the search input will disappear.

    Hope this helps someone else.