simonhamp / laravel-nova-csv-import

The best CSV import component for Laravel Nova
https://novapackages.com/packages/simonhamp/laravel-nova-csv-import
MIT License
168 stars 76 forks source link

Import data from .csv file - Error. #29

Open philipbaginski opened 3 years ago

philipbaginski commented 3 years ago

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?

Nermosis commented 3 years ago

I have the same issue

philipbaginski commented 3 years ago

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

Nermosis commented 3 years ago

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

philipbaginski commented 3 years ago

I have only this package.

Nermosis commented 3 years ago

Are you using the samething write in the example inside your nova resource? like mine: `class Taxonomia extends Resource { /**

philipbaginski commented 3 years ago

No idea, I have to check.

muhammadsaeedparacha commented 2 years ago

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

simonhamp commented 2 years ago

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

simonhamp commented 2 years ago

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

philipbaginski commented 2 years ago

I will check today with Nova 3 version.

chrillep commented 1 year ago

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