-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
- Laravel Version: 9.12.*
- Nova Version: 4.5.*
- PHP Version: 8.1.
Description:
Relations are forced to be displayed at the bottom of each resource.
There is no more possibility of adding headings or any other field between relations. We used this in Nova 3.0 to give some users a little more context of specific relations by applying a descriptive heading.
public function fields(NovaRequest $request)
{
return [
(new Panel('Label Panel', $this->labels())),
$this->timestampsPanel(),
];
}
protected function labels()
{
return [
Heading::make('Label Description )'),
HasMany::make('Labels', 'labels', Label::class),
];
}
Metadata
Metadata
Assignees
Labels
No labels
