© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
5 replies
Adam Holmes

Modal closing on search

I have a modal which loads a component which includes a filament table. Some fields are searchable. When I type to search, the table is automatically updated ✅ However, if I type a search term and hit enter, the modal is closed ❌

I set all the following options to prove none of them are triggering it, but it still closes.

->modalSubmitAction(false)
->modalCancelAction(false)
->modalCloseButton(false)
->closeModalByClickingAway(false)
->closeModalByEscaping(false)
->modalSubmitAction(false)
->modalCancelAction(false)
->modalCloseButton(false)
->closeModalByClickingAway(false)
->closeModalByEscaping(false)


Initial findings suggest calling
halt()
halt()
on the action, but as it's a search field in the filament table I don't have access to it

Any ideas?

Thanks
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Prevent Modal Closing?
FilamentFFilament / ❓┊help
2y ago
Modal closing issue
FilamentFFilament / ❓┊help
2y ago
Prevent Modal from closing on submit.
FilamentFFilament / ❓┊help
8mo ago
modal not closing on form submit
FilamentFFilament / ❓┊help
3y ago