F
Filament7mo 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
LeandroFerreira7mo ago
are you using a simple resource and would you like to add a confirmation before creating the record?
Pooja
PoojaOP7mo 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
LeandroFerreira7mo 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
PoojaOP7mo ago
I want to add in v2
Want results from more Discord servers?
Add your server