nova-belongsto-depend icon indicating copy to clipboard operation
nova-belongsto-depend copied to clipboard

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

Open dan-lutd opened this issue 4 years ago • 0 comments

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

dan-lutd avatar Feb 23 '22 15:02 dan-lutd