We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use this package for many to many relationship I have a Platform belongsToMany Project and Project belongsTo many Platform
NovaBelongsToDepend::make('Project', 'project', Project::class), NovaBelongsToDepend::make('Affected Platforms','affectedPlatforms',SupportedPlatform::class) ->optionsResolve(function ($project) { return \App\SupportedPlatform::whereHas('projects', function ($q) use ($project) { $q->where('project_id', $project->id); })->get(); }) ->dependsOn('Project') ->rules('required'),
But I get Method Illuminate\Database\Eloquent\Collection::getKey does not exist.
Method Illuminate\Database\Eloquent\Collection::getKey does not exist.
What am I doing wrong? Also is it possible to select multiple options?
The text was updated successfully, but these errors were encountered:
@Peterragheb did you got any solution?
Sorry, something went wrong.
@orlyapps, hello! I have same issue. Is there any solution?
Having the same issue
I also get the error
No branches or pull requests
I'm trying to use this package for many to many relationship
I have a Platform belongsToMany Project
and Project belongsTo many Platform
But I get
Method Illuminate\Database\Eloquent\Collection::getKey does not exist.
What am I doing wrong?
Also is it possible to select multiple options?
The text was updated successfully, but these errors were encountered: