FilamentF
Filament14mo ago
CGM

Disable unsavedChangesAlerts() for specific resource or action.

I have an action where unsavedChangesAlerts() is causing issues and I would like to disable it only for that action. Is there any way to accomplish this without completely disabling it?

I've been working along this line of thinking, but I can't seem to target the action class this way.

->unsavedChangesAlerts(function () {
 // Not sure what to check for here as route is livewire.update
})
Was this page helpful?