Open rezabrnt opened 1 year ago
same here, workaround I use:
/**
* Get the fields displayed by the resource.
*
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
* @return array
*/
public function fields(NovaRequest $request)
{
return [
MorphMany::make(
'Comments',
'comments',
\KirschbaumDevelopment\NovaComments\Nova\Comment::class
)->onlyOnForms(),
new Commenter(),
];
}
Using the Commenter() without the CommentsPanel() will throw a 404 error.