onChange event for search module? #1870
Answered
by
lubber-de
smartm0use
asked this question in
Modules (Modal, Dropdown, Popup, Calendar, Toast, ...)
-
Hello, I'm using search module to let users select one of the results. An event is triggered when they select, but how to get triggered every time the text they enter changes? Any workaround? |
Beta Was this translation helpful? Give feedback.
Answered by
lubber-de
Feb 8, 2021
Replies: 1 comment 1 reply
-
Doesn't $('.ui.search').search({
onSearchQuery: function(val) {
console.log('You typed ' + val);
}
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lubber-de
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't
onSearchQuery
callback work for you?See https://jsfiddle.net/lubber/erhbwcxm/3/