Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nova-vendor/nova-blongsto-depend 404 (not found) #101

Open
berendsendevelopment opened this issue Sep 25, 2021 · 3 comments
Open

nova-vendor/nova-blongsto-depend 404 (not found) #101

berendsendevelopment opened this issue Sep 25, 2021 · 3 comments

Comments

@berendsendevelopment
Copy link

I have the following fields:

NovaBelongsToDepend::make(__('Product'), 'product')
->options(\App\Models\Product::all()),

NovaBelongsToDepend::make('ProductOption')
->optionsResolve(function ($product) {
return $product->option()->get(['id','name']);
})
->dependsOn('Product'),

When i want to use the field in Laravel Nova it does nothing and gives me the following error:

image

Is this a publishing error? I dont see the package in the publishing list?

I have tried everything but cant seem to get it to work.

@Djery-Tom
Copy link

Run
php artisan optimize
php artisan cache:clear

and restart the project

@bhargavhauper
Copy link

bhargavhauper commented Mar 1, 2022

Run php artisan optimize php artisan cache:clear

and restart the project

@orlyapps
plz help
same error
Laravel v8.83.2
Nova v3.26
not working

@bhargavhauper
Copy link

solved on package install
https://github.com/scops/nova-belongs-to-dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants