Closed msucevan closed 1 month ago
As documented the MorphToMany field is searchable, but the method relatableQueryUsing() does not exist.
\Laravel\Nova\Fields\MorphToMany::make(__('Factors'), 'factors', FactorResource::class) ->searchable() ->showCreateRelationButton() ->relatableQueryUsing(function (NovaRequest $request, Builder $query) { return $query->withoutOriginal(); })
Description:
As documented the MorphToMany field is searchable, but the method relatableQueryUsing() does not exist.
Detailed steps to reproduce the issue on a fresh Nova installation: