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

BelongsToDepend doesn't support Fields to attach fields to pivot table in BelongsToMany #111

Open
dan-lutd opened this issue Feb 23, 2022 · 0 comments

Comments

@dan-lutd
Copy link

Not sure if BelongsToMany is supported per Issue 71
I am getting the error: Method Orlyapps\NovaBelongsToDepend\NovaBelongsToDepend::fields does not exist.

Where the fields in the fields method are the extra fields on the pivot table.

Without
->fields(
Text::make('Customer number'),
),

I get the Method Illuminate\Database\Eloquent\Collection::getKey does not exist. error

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

1 participant