Possible Bug in Action ->disabled() and ->hidden()
I have added Filament action to a custom livewire page. The disabled function works a little odd, the condition changes to true/false but the ->action() would not execute.
If i remove the disabled(), it works as expected.
Can any one reproduce this?
Solution:Jump to solution
My bad, the
totalPages
must be a public property. I had protected ?int $totalPages = null;
and changing it to public ?int $totalPages = null;
worked.1 Reply
Solution
My bad, the
totalPages
must be a public property. I had protected ?int $totalPages = null;
and changing it to public ?int $totalPages = null;
worked.