Globally configure table record actions - v4
Hi
For my application i prefer having all table actions as a ->iconButton() by default.
Previously i was able to do this globally in the boot method of a service provider:
Now that actions are unified (which is fantastic btw), i haven't figured out a way to do this in v4 without it also affecting page actions.
Was wondering if there is any way to identify in the action wether or not it is rendered as a recordAction in a table?
4 Replies
Hi
I'm sorry, I don't have the solution either, but I'm experiencing the exact same issue. Maybe we should open an issue on GitHub?
its working on me on v4-beta10
https://github.com/filamentphp/filament/issues/16738
I upload it.
GitHub
Can't make global configuration for table actions only · Issue #16...
Package filament/filament Package Version v4.0.0-beta10 Laravel Version v12.19.3 Livewire Version v3.6.3 PHP Version 8.4.7 Problem description right now if we apply this code in AppServiceProvider ...
It's a "feature request", but it's a regression, no?