alisaleem27 / nova-morph-to-create-field
A Laravel Nova field.
Installs: 80 836
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0
Requires (Dev)
- laravel/nova: ^4.21
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.