-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
- Laravel Version: 10.10
- Nova Version: 4.0
- PHP Version: 8.2.0
- Database Driver & Version:
- Operating System and Version: ubuntu
- Browser type and version: chrome
- Reproduction Repository: https://github.com/###/###
Description:
BelongsTo::make('Account')
->sortable()
->searchable()
->rules('required')
->required()
->showOnPreview()
->withSubtitles(function ($value) {
return $value->email;
}),
Detailed steps to reproduce the issue on a fresh Nova installation:
#this is my transaction resource
i have this code but when i try to get email in Subtitles it is showing "No additional information..."
And if i follow officals docs it say use
public function subtitle() { return "Author: {$this->user->name}"; } If i use this then subtitle is not coming
How to use subtitle and how to get email in subtitle?
Metadata
Metadata
Assignees
Labels
No labels