#Issue with loading tab content

3 messages · Page 1 of 1 (latest)

dreamy locust
#

Hi,

I’m having an issue with loading tab content on a listing after upgrading to v5. Everything was working correctly on v4.

When I click a tab, the content doesn’t load. I don’t see any request in the Network tab and there are no errors in the console. After refreshing the page, the correct filtered content is displayed (based on the specified field and value).

This is how the tabs are defined:

public function getTabs(): array
{
    return [
        null => Tab::make('Wszystkie'),
        'new' => Tab::make('Nowa')
            ->query(fn ($query) => $query->where('status', InvoiceKsefStatus::New->value)),
        'rejected' => Tab::make('Odrzucona')
            ->query(fn ($query) => $query->where('status', InvoiceKsefStatus::Rejected->value)),
        'require_more_info' => Tab::make('Wymaga informacji')
            ->query(fn ($query) => $query->where('status', InvoiceKsefStatus::RequireMoreInfo->value)),
    ];
}

I followed the v5 upgrade guide and think that everything was done correctly on my side.

Thanks

lapis thistleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

dreamy locust
#

Ok, looks like this is an issue related to the livewire 4.2 version, related issue: https://github.com/filamentphp/filament/issues/19354

After downgrading livewire to 4.1 all is working as expected. Marking the post as solved.

GitHub

Package filament/filament Package Version v5.2.3 Laravel Version v12.53.0 Livewire Version v4.2.0 PHP Version 8.5.3 Problem description When using tabbed RelationManagers, clicking on the RelationM...