Use 1 attribute for 2 SelectFilter
hi all, i have model relationship like below
Product belongsto ProductCategory
Devicequota belongsto Product
this code in DeviceQuotaResource and i only use product_id refer to Product model . In filter section . i want to create filter for ProductCategory as well by using attributes product_id but the filter just only appear 1 instead two of them . any ideas ?

1 Reply
You cant use same "id's" with filter.
you need to change one "product_id" to somethin like "product_name"
and than set a attribute "product_id" https://filamentphp.com/docs/3.x/tables/filters/select#customizing-the-column-used-by-a-select-filter