eminiarts / nova-tabs

Laravel Nova Tabs Package
464 stars 139 forks source link

Question - Use of Panels inside Tabs #290

Open atalavera-sellboost opened 1 year ago

atalavera-sellboost commented 1 year ago

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 commented 7 months ago

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

benedict-w commented 1 week ago

+1

puzzledmonkey commented 5 days ago

+2