eminiarts/nova-tabs

Tabs after other fields in Detail View

amesas opened this issue · 1 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.