F
Filament6mo 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
4 Replies
LeandroFerreira
LeandroFerreira6mo ago
are you using a simple resource and would you like to add a confirmation before creating the record?
Pooja
PoojaOP6mo ago
Actions\Action::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 {...}),
LeandroFerreira
LeandroFerreira6mo ago
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 👇
From An unknown user
Twitter
Pooja
PoojaOP6mo ago
I want to add in v2
Want results from more Discord servers?
Add your server