mustafatoker/nova-create-or-add

A Laravel Nova field.


Keywords
nova, laravel
License
MIT

Documentation

A Nova field to replace BelongsTo field for on the go resource creation.

Form Field Screenshot Field Form Expanded Screenshot Form Open

Note

This package is incompatible with Prepopulate Searchable and the package is broken The Mainteners are no longer interested so i fixed both and will.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require mustafatoker/nova-create-or-add

Usage

// in Resource File
use MustafaTOKER\NovaCreateOrAdd\NovaCreateOrAdd;

// ...

NovaCreateOrAdd::make('Manufacturer')
  ->searchable()
  ->prepopulate()
  ->rules('required'),

Credits

License

The MIT License (MIT). Please see License File for more information.