eminiarts / nova-tabs

Laravel Nova Tabs Package
469 stars 140 forks source link

Tabs do not work since Laravel Nova 4.22.0 #281

Open bitfactory-nathan-bakhuijzen opened 1 year ago

bitfactory-nathan-bakhuijzen commented 1 year ago

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?

BryanMeurisse commented 1 year ago

up!

gemanzo commented 1 year ago

+1

dm-pf commented 1 year ago

@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

KenjiJobtoolz commented 1 year ago

@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!