table column searchable() search on pressing enter
Is there a way I can make it so that the search input only searches when I press enter instead of searching after I stopped typing?
3 Replies
I found this search-field.blade.php file and I copied it to my resources folder. I can't seem to figure out how to trigger the search only on button press.
you can update the line to remove the .live.debounce.500ms but then you'll need to add a submit button
I did it like this. It's a bit hacky but it seems to work well.