mustafatoker/nova-create-or-add

A Laravel Nova field.

v1.0.5 2019-11-11 15:26 UTC

This package is auto-updated.

Last update: 2024-04-12 01:17:33 UTC


README

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.