A Nova field to replace BelongsTo field for on the go resource creation.
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
- Alex Bowers
- Mustafa TOKER
- Burak Tekin
- Mustafa Demir
License
The MIT License (MIT). Please see License File for more information.