Method Filament\Tables\Actions\Action::deactivateAction does not exist.
Where am I do wrong?
4 Replies
You are doing lots of things wrong. π
You can't just invent methods to chain on to Filament's components like that. Or in PHP in general. That's not how this works. And in your action() code you need to inject the $data array from your form.
Try this.
I just want to call
like that
You CAN'T like this
Solution
If you want this, you need to implement that method on your action