for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NovaHasManyIndex;
use Laravel\Nova\Fields\Field;
use Laravel\Nova\Http\Requests\NovaRequest;
class NovaHasManyOnIndex extends Field
{
/**
* The field's component.
*
* @var string
*/
public $component = 'nova-has-many-index';
* @inheritdoc
public $showOnIndex = true;
public function isShownOnDetail(NovaRequest $request, $resource): bool
return false;
}
public function isShownOnUpdate(NovaRequest $request, $resource): bool
public function isShownOnCreation(NovaRequest $request): bool