Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No results event #189

Open
engin-can opened this issue May 4, 2020 · 1 comment
Open

No results event #189

engin-can opened this issue May 4, 2020 · 1 comment

Comments

@engin-can
Copy link

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?

@engin-can
Copy link
Author

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?

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant