kirschbaum-development / nova-inline-relationship

A package to present relationships as inline properties in Nova.
MIT License
198 stars 83 forks source link

Invalid Arguments foreach() #82

Open matthewswallace opened 3 years ago

matthewswallace commented 3 years ago

I've added this to a Laravel 8 project running the latest version of Nova.

I have the following HasMany field setup in my Product resource in nova so a user can add addition information about a product.

HasMany::make('Page Sections')->inline()->sortUsing('sort_order'),

When I try to update or save I get "Invalid Arguments on foreach()", And I've also noticed that the labels next to each field show the db table representation of the field.

Screen Shot 2021-02-26 at 11 11 38 AM