FilamentF
Filamentβ€’7mo ago
dusano

Open Modal after/before Creating record

Hi there,

Is there a way to open a modal after or before a record is persisted in the database? For example, I'd like to trigger a custom modal either right before saving or immediately after the record is created/updated. Has anyone implemented something like this with Filament actions or hooks?
Solution
Leandro Ferreira (@leandrocfe)
πŸ’‘ Filament Tip: If you want to enhance the Create Form by adding a confirmation modal before submission, use the following code snippet πŸ‘‡

X

β€’

6/10/24, 2:15 PM

Was this page helpful?