© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How do i prevent an action modal from closing the modal on submit - Filament
F
Filament
•
2y ago
•
4 replies
jlove1672
How do i prevent an action modal from closing the modal on submit
How do i prevent an action modal from from closing the modal on submit
-
>action
(function
(
$action
, Order
$record
,
$livewire
,
$data
)
{
if
(
$something
)
{
/
/add custom error and dont close modal
}
Solution
$action->halt()
$action->halt()
Jump to solution
Filament
Join
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Prevent Modal from closing on submit.
F
Filament / ❓┊help
9mo ago
Prevent action modal from closing automatically
F
Filament / ❓┊help
3y ago
Prevent Modal Closing?
F
Filament / ❓┊help
3y ago
Prevent form from closing and show error on action form submit
F
Filament / ❓┊help
12mo ago