Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
M

Morph To Create Field

Readme

Nova Morph-To Create Field

This Laravel Nova package a MorphTo field that does not allow selecting previously created resources.

Installation

Install the package in to a Laravel app that uses Nova via composer:

composer require alisaleem27/nova-morph-to-create-field

Usage

use AliSaleem\MorphToCreateField\MorphToCreate;

class MyResource extends Resource
{
    //...
    
    public function fields(NovaRequest $request)
    {
        return [
            MorphToCreate::make('...')
                ->types(['...']),
        ];
    }
}

License

Nova Dependable Panel is open-sourced software licensed under the MIT license.

Back to Top
Added 3 years ago
Last updated 2 Years Ago
Version v1.0.4
Composer
alisaleem27/nova-morph-to-create-field
GitHub stars 1
Packagist downloads 361,649

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas