laravel-nova-csv-import icon indicating copy to clipboard operation
laravel-nova-csv-import copied to clipboard

Import data from .csv file - Error.

Open philipbaginski opened this issue 3 years ago • 11 comments

Hi!

I'm getting this error: SimonHamp\LaravelNovaCsvImport\Http\Controllers\ImportController::SimonHamp\LaravelNovaCsvImport\Http\Controllers{closure}() must be an instance of Laravel\Nova\Fields\Field, array given

Laravel 8 Laravel Nova v3.24.0

Any idea how to fix it?

philipbaginski avatar May 21 '21 08:05 philipbaginski

I have the same issue

Nermosis avatar Jun 07 '21 07:06 Nermosis

I tested this package with fresh Nova installation and works proper. How to find what else is interrupting this package?

philipbaginski avatar Jun 07 '21 07:06 philipbaginski

Should have installed the excel importer? or i can just run this without that? Cause im just doing the example thing but i cannot get the $request->user thing working

Nermosis avatar Jun 07 '21 07:06 Nermosis

I have only this package.

philipbaginski avatar Jun 07 '21 08:06 philipbaginski

Are you using the samething write in the example inside your nova resource? like mine: class Taxonomia extends Resource { /** * The model the resource corresponds to. * * @var string */ public static $model = '\App\Models\Taxonomia'; public static $canImportResource = true;

Nermosis avatar Jun 07 '21 08:06 Nermosis

No idea, I have to check.

philipbaginski avatar Jun 07 '21 09:06 philipbaginski

This issue is because it doesn't process Panel in fields list of a resource

muhammadsaeedparacha avatar Dec 29 '21 08:12 muhammadsaeedparacha

Sorry for just picking up on this thread. For those experiencing an issue, can anyone share their NovaResource configuration?

simonhamp avatar Mar 13 '22 12:03 simonhamp

@philipbaginski I know this is an old issue, but has this improved at all?

simonhamp avatar Apr 21 '22 11:04 simonhamp

I will check today with Nova 3 version.

philipbaginski avatar Apr 21 '22 11:04 philipbaginski

having issue with panels aswell. code like -> https://nova.laravel.com/docs/4.0/resources/fields.html#field-panels

chrillep avatar Feb 25 '23 19:02 chrillep