Open engin-can opened 4 years ago
I noticed that it triggers changed.bs.select
when it found results for query ('apple' and 'amazon' in gif) and when I select an option. It doesn't get triggered when no results for query were found ('asdf' in gif).
My goal is to enable Name input element when option is selected and disable the Name input element when no option is selected. Any idea can I do this?
How can I catch the 'No results' event? I want to disable a different field when there are no results. How can I do this?