Skip to content
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages