alisaleem27/nova-morph-to-create-field

A Laravel Nova field.

Installs: 256 722

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Vue

pkg:composer/alisaleem27/nova-morph-to-create-field

v1.0.4 2023-10-02 17:22 UTC

This package is auto-updated.

Last update: 2025-09-29 03:06:44 UTC


README

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.