Search
Setup for Free
F
Filament
•
2y ago
Pooja
Show the confirmation model on the submit button of the model form
I want to show the confirmation model on the submit button of the model form
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,347
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
P
Pooja
I want to show the confirmation model on the submit button of the model form
L
LeandroFerreira
•
6/17/24, 1:45 PM
are you using a simple resource and would you like to add a confirmation before creating the record
?
P
Pooja
OP
•
6/17/24, 1:46 PM
Actions
\
A
c
t
i
o
n
:
:make
(
'submitjob
'
)
-
>label
(
'Submit Job
'
)
-
>modalWidth
(
'lg
'
)
-
>modalHeading
(
(
'Submit Job
'
)
)
-
>modalSubheading
(function
(
)
{
.
.
.
}
)
-
>modalFooter
(function
(
) use
(
)
{
.
.
.
}
-
>modalButton
(
(
'Submit Job
'
)
)
-
>form
(
[
.
.
.
]
)
-
>action
(function
(array
$data
) use
(
$job
_details
)
: void
{
.
.
.
}
)
,
P
Pooja
Actions\Action::make('submitjob')->label('Submit Job') ->modalWidth('lg') ...
L
LeandroFerreira
•
6/17/24, 1:47 PM
I did it using pages
https://x.com/leandrocfe/status/1800169819880472924
Maybe you can achieve it using this way
https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#chaining-actions
and in v3
Leandro Ferreira (@leandrocfe) on X
Filament Tip
: If you want to enhance the Create Form by adding a confirmation modal before submission
, use the following code snippet
Twitter
•
6/10/24, 2:15 PM
Adding an action to a Livewire component - Actions - Filament
L
LeandroFerreira
I did it using pages https://x.com/leandrocfe/status/1800169819880472924 Maybe ...
P
Pooja
OP
•
6/17/24, 1:49 PM
I want to add in v2
Similar Threads
disable submit button on form
F
Filament / ❓┊help
3y ago
disable submit button on widget form
F
Filament / ❓┊help
2y ago
submit button not showing up on form?
F
Filament / ❓┊help
2y ago