Action in Modal Throws Error in Version 4

What I am trying to do: I am currently upgrading an application from version 3 to version 4 and I am encountering an issue with an action in a modal. I have a modal that contains an action button that displays a list view in the modal when it is clicked. This functionality works in version 3, but I receive an error that says "Call to a member function makeSetUtility() on null" when this button is clicked in version 4.

What I did: I have tried to update the Filament\Forms\Components\Actions wrapper around the Action itself but have had no luck.

My issue/the error: When button is clicked I recieve an error that says "Call to a member function makeSetUtility() on null". Flare error page: https://flareapp.io/share/xmNayqp5

Code: Here's the Action call that generates the modal: https://gist.github.com/tk-roark/ac6a3d13ccbc84c80adf55646a83f8e4
Flare
Gist
Filament V4 Modal Action. GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?