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
awcodes
awcodes4mo ago
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.
SuperUserDo
SuperUserDoOP4mo ago
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…)?
awcodes
awcodes4mo ago
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.
SuperUserDo
SuperUserDoOP4mo ago
Thanks!
Want results from more Discord servers?
Add your server