Modal Table Select - Adding Actions
Hi, I'm working on upgrading a project from v3 to v4 - looking at moving from the RecordFinder Plugin to using Modal Table Select.
It is very similar (in our use case) for searching, however, I am struggling to add a create Action for the times that the user cannot find the one they need.
I have treated it the same as a normal table, but I wonder if the facility to use HeaderActions or emptyStateActions is not yet available in the Modal Table Select? If it isn't is there some work on the radar for it? Or, as is quite possible, am I missing something?
Any help would be greatly appreciated 🙂
2 Replies
Started digging into this, actions are deliberately blanked for for Modal Table Select at the moment.
So next steps are to look at what happens when they’re not. It ‘looks’ like filament is able to resolve them, but they are placed incorrectly in the DOM and can’t be activated to open the modal.
More to look at 😂
Seems like it could be the same issue as this ultimately: https://github.com/filamentphp/filament/issues/16549
GitHub
v4: actions in modal actions with livewire component not working ·...
Package filament/filament Package Version v4.0.0-beta5 Laravel Version v12.18.0 Livewire Version v3.6.3 PHP Version PHP8.2+ Breaking change description Filament actions have a modalContent option w...