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

Question - Use of Panels inside Tabs #290

Open
atalavera-sellboost opened this issue Jun 28, 2023 · 3 comments
Open

Question - Use of Panels inside Tabs #290

atalavera-sellboost opened this issue Jun 28, 2023 · 3 comments

Comments

@atalavera-sellboost
Copy link

I'm using version 1.4.6. (1.5.1 don't work at all with my Nova 2.12.0, don't know why).

I have a big resource with a lot of Nova Panels to group fields.

I tried to group some panels inside one Tab, but it seems that isn't possible or I'm doing something wrong because each Nova Panel is considered like another new Tab.

            return [
                new Tabs(__('Project details'), [
                    Tab::make('Balance1', [
                        new Panel('Balance2', [
                            Number::make('Balance3', 'balance'),
                            Number::make('Total4', 'total'),
                        ]),
                        new Panel('Other Info5', [
                            Number::make('Paid To Date6', 'paid_to_date')
                        ]),
                    ]),
                    Tab::make('Other Info 7', [
                        Number::make('Paid To Date 8', 'paid_to_date')
                    ]),
                ]),
            ];

image

The result I was expecting was having a "Balance 1 tab" with Panel "Balance2" first and Panel "OtherI Info5" after.

Then "Other Info 7" tab next to "Balance 1 tab".

@oujonny
Copy link

oujonny commented Feb 23, 2024

any updates? I face the same issue and would love to use panels inside tabs.

@benedict-w
Copy link

+1

@puzzledmonkey
Copy link
Contributor

+2

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

4 participants