Add option to Action to opt-out of unsaved changes alerts #13438
juliangums
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Go ahead if you want to PR |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@danharrin When I use
->unsavedChangesAlerts()
on my panel I get unsaved changes alerts on all mounted actions as you've defined it here https://github.com/filamentphp/filament/blob/3.x/packages/panels/resources/views/components/unsaved-action-changes-alert.blade.php#L11However, not all mounted actions include forms with changes. I think an option to opt-out of this for custom actions and also having
ViewAction
opted-out would be good. I have a view-only slide out I am using for example from this plugin https://filamentphp.com/plugins/ralphjsmit-activitylog-proBeta Was this translation helpful? Give feedback.
All reactions