F
Filamentβ€’3mo ago
krsaulitis

Confirmation before navigating away

Hi everyone! Is there a plugin or an easy way to implement functionality that shows a popup warning when navigating away from the current page without saving changes in the resource edit view?
4 Replies
heisters_
heisters_β€’3mo ago
Filament Daily
YouTube
Filament: Confirmation Modal on Create Submit Button
Demonstrating the tip by Leandro Ferreira, expanding with a bit of context. Original tweet: https://x.com/leandrocfe/status/1800169819880472924 More Filament examples on our website: https://filamentexamples.com
krsaulitis
krsaulitisβ€’3mo ago
This is confirmation on save, but I am looking for confirmation to navigate away to another page if changes are not saved. f.e. - I would add some word to a record title, would not click "save", but clicked on "Dashboard".
krsaulitis
krsaulitisβ€’3mo ago
Yes! Thank you! I thought I saw something like that in the docs a while back, but could not find it again. πŸ™
Want results from more Discord servers?
Add your server