hi , because the chain package only appears in the form view . i have this code
BelongsTo::make('User','user')->exceptOnForms(),
Chain::as('user', function () {
return [
Select::make('User', 'user_id')
->options(
\App\User::pluck('first_name', 'id')->toArray()
)
];
}),
but because the relation is the same key the package tries to chain it which result in the following error
Method Laravel\Nova\Fields\BelongsTo::resolveFields does not exist
hi , because the chain package only appears in the form view . i have this code
but because the relation is the same key the package tries to chain it which result in the following error
Method Laravel\Nova\Fields\BelongsTo::resolveFields does not exist