Global Search Customization
Hi guys, Is there a way that i can customize globalSearch() method. My goal is instead of listing results instantly, to let users press enter and submit that "form" and show them results in table.
Would be grateful for help!
4 Replies
I don’t think that’s possible out of the box. I could be wrong though. You would have to implement your own livewire component in its place.
Thanks, so if I understood correctly I would have to create custom input instead of predefined global search, and on submit to further do handling via pure Livewire (and if needed to include Filament forms, etc…)?
Essentially yes. But you can probably copy a lot of filament’s global search into your own use case and just change all the live attributes to not be live and just add a button in the view to call the search method.
Thanks!