Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs do not work since Laravel Nova 4.22.0 #281

Open
bitfactory-nathan-bakhuijzen opened this issue Mar 21, 2023 · 4 comments
Open

Tabs do not work since Laravel Nova 4.22.0 #281

bitfactory-nathan-bakhuijzen opened this issue Mar 21, 2023 · 4 comments

Comments

@bitfactory-nathan-bakhuijzen

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
Copy link

up!

@gemanzo
Copy link

gemanzo commented Apr 19, 2023

+1

@dm-pf
Copy link

dm-pf commented Apr 26, 2023

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants