Duplicate queries using bulk action
I'm getting a whole bunch of duplicate queries trying to use a bulkAction in my admin panel. I followed pretty much the docs as described here https://filamentphp.com/docs/2.x/tables/actions#custom-forms:
Attached is a screenshot of my debugbar when I open this resource on my admin panel. If I use a closure for
Attached is a screenshot of my debugbar when I open this resource on my admin panel. If I use a closure for
form() I can defer the loading of departments until the bulk action is triggered, but it still does a bunch of duplicate queries. Is this normal?