Eager loaded relationship based on table filter
I'm trying to load a relationship based on the table filter.
In v2 I could do this but in v3 throws error:
When I switch over to using table method with filters the
Tried to access the filter via livewire
In v2 I could do this but in v3 throws error:
Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization
When I switch over to using table method with filters the
when is called but the eager relationship is never loaded causing error:Attempted to lazy load [language] on model
Tried to access the filter via livewire
$table->getLivewire()->getTableFilterState('language_id') but this causes a recursive loop 500 error. Also tried $this->getTableFilterState('language_id')['value'] ?? null;