Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 839 Bytes

File metadata and controls

31 lines (22 loc) · 839 Bytes

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