1 month ago

Adding Brands a User can see? eg. tags from database saved as pivot table

Posted 1 month ago by joshsalway

The feature is: A User can see only certain Brands and this is specified by Laravel Nova.

User UserBrand (pivot table) Brand

How would you use Laravel Nova to multi-select and edit a Users relationship to Brands?

Anyone have any suitable suggestions?

This package allows you to add multi-select fields to Laravel Nova:

However, it saves the data as JSON data. Is there any way to use the database to utilize the Pivot table and save the data accordingly or is that unreasonable?

Please sign in or create an account to participate in this conversation.