eminiarts / nova-tabs

Laravel Nova Tabs Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tabs after other fields in Detail View

amesas opened this issue · comments

Edit View is ok, but on the Details View the Field1 and Field2 are displayed above the Tabs.

    public function fields(NovaRequest $request)
    {
        return [            
            ID::make()->sortable(),
            Tabs::make('Some Title', [
                Tab::make('Tab 1', [....]),
                Tab::make('Tab 2', [....])
              ]),
            Number::make('Field 1'),
            Text::make('Field 2')
      ];
    }

Adding field1 and field2 to a Panel solves the problem.