Access tableFilters in resource
Hi,
On a tableWidget you can access
tableFilters
like so:
->visible(fn () => ZaakState::ACTIVE->value === $this->tableFilters['state']['value'])
Can you also access these in a a Resource
?Solution:Jump to solution
Found the solution:
```php
->visible(function (HasTable $livewire) {
return ZaakState::ACTIVE->value === $livewire->getTableFilterState('state')['value'];...
1 Reply
Solution
Found the solution: