Skip to content

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

Notifications You must be signed in to change notification settings

Yelles/nova-create-or-add

 
 

Repository files navigation

warning : french localization only for personnal use

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 yelles/nova-create-or-add

Usage

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

// ...

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

Original Credit to Abhi0725

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 71.6%
  • PHP 26.0%
  • JavaScript 2.4%