Closed plusquamperfekt closed 1 year ago
Thanks, but this is deliberate. If a closure is passed, we assume this is a function to run one-time when the column is clicked. Kinda shorthand for if you dont need to open a modal, just run a function
@plusquamperfekt I'd be interested to know if you ever worked around this and what your solution looked like.
Package
filament/filament
Package Version
v2.17.40
Laravel Version
v10.11.0
Livewire Version
v2.12.3
PHP Version
PHP 8.2.4
Problem description
The modal is not displayed if a closure is used as a parameter in action().
Expected behavior
As in the following example, a modal should open.
Steps to reproduce
Clone my the repository.
https://github.com/plusquamperfekt/filament-table-column-action
Install composer packages
composer install
Run vite
npm install && npm run dev
Reproduction repository
https://github.com/plusquamperfekt/filament-table-column-action
Relevant log output
No response