Debounce Search Event #541
-
Hi, I'm using Ruby on Rails with Stimulus JS and have been using slim select for the past 6 months in my project. My team has got the task of updating performance this quarter. So as a part we are moving the searching part through ajax via slimselect and it is working. The only thing I'm looking at this point is to have a debounce search functionality so we are not hitting the server on every key press. It would be great if somebody can help me achieving this.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
@brianvoe would love to have your input over this. |
Beta Was this translation helpful? Give feedback.
-
I wrote something up for you |
Beta Was this translation helpful? Give feedback.
I wrote something up for you
https://codepen.io/brianvoe/pen/jORQMVX