dillingham/nova-id-link

Links the ID field in Nova

1.0 2019-02-01 01:48 UTC

This package is auto-updated.

Last update: 2021-07-29 01:55:52 UTC


README

Latest Version on Github Total Downloads Twitter Follow

This behavior is now default for Nova 3.8 & up

Nova package that links the Nova ID field for a quicker click-through from the left side menu.

nova-id

Install

composer require dillingham/nova-id-link

Usage

You can globally link all ID fields in your NovaServiceProvider:

use Laravel\Nova\Fields\ID;
public function boot()
{
    ID::useComponent('nova-id-link');
}

or chain ->linked() to the existing Nova ID field in your resources:

public function fields(Request $request)
{
    return [
        ID::make()->linked(),
    ];
}

Author

Hi 👋, Im Brian Dillingham, creator of this Nova package and others

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: @im_brian_d