eminiarts / nova-tabs

Laravel Nova Tabs Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tabs do not work since Laravel Nova 4.22.0

bitfactory-nathan-bakhuijzen opened this issue · comments

Hi there,

Today I discovered that tabs do not work since Laravel Nova (laravel/nova) version 4.22.0. The tabs work fine with version 4.21.0. In version 4.22.0, the tabs are automatically displayed as sections, see screenshots below. I have not changed any code regarding the tabs. As a temporary solution I have reverted the Laravel Nova version back to 4.21.0 in composer.json.

Screenshot 1, using version 4.21.0:

Screenshot 2023-03-21 at 11 56 40

Screenshot 2, using version 4.22.0:

Screenshot 2023-03-21 at 11 59 43

Does anyone else have this issue?

commented

up!

@BryanMeurisse @GeManzoDev you need to add the use HasTabs trait to your resource.

From the README:

image

After adding the trait myself - it works as expected on Nova 4.23.0

@BryanMeurisse @GeManzoDev you need to add the use HasTabs trait to your resource.

From the README:

image

After adding the trait myself - it works as expected on Nova 4.23.0

Thanks a lot for this!