Skip to content

Abhi0725/nova-create-or-add

Repository files navigation

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

Form Field Screenshot Field Form Expanded Screenshot Form Open

Installation

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

composer require shivanshrajpoot/nova-create-or-add

Usage

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

// ...

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

About

A Nova Field for adding or creating new resources with belongs-to relationship.

Resources

Stars

Watchers

Forks

Packages

No packages published