Relation Managers
why relation managers not working?
I use the command:
php artisan make:filament-relation-manager ProductResource categories name
Product Model
Category Model
ProductResource.php

3 Replies
Because you are creating resource. When you create the resource go into the resource and you will see it. It's not shown on listing and creating.
Also make sure you have set the correct relation within
ProductCategoriesRelationManager
@Melomancheto I don't understand about that. If both have the same
hasMany
relationship, what happens?
Tag Model
Product Model
Relation managers are interactive tables that allow administrators to list, create, attach, associate, edit, detach, dissociate and delete related records without leaving the resource's Edit or View page.