F
Filament15mo ago
Crylar

What are my options to use repeater component as collapsible element inside table?

I would like to have products listed inside collapsible panel on a table with some actions attached to each repeater item but I am not sure if it's possible to mix table and form components, or custom is the only solution here?
5 Replies
wyChoong
wyChoong15mo ago
not sure what's your ideal output, but you should be able to customize the table layout https://filamentphp.com/docs/2.x/tables/layout#collapsible-content and have table actions with form fields to achieve what you need
Crylar
Crylar15mo ago
Yeh I have found this, but it does not look like you can mix Form elements in this. I have order and many products for the order. I know I can easily list orders in Edit or View page but the requirement is to have it on collapsible right on the table. So I was wondering what are possibilities without diving into too much of custom here.
wyChoong
wyChoong15mo ago
if you want to achieve order->products in a single table, that's not possible and it would be horrible
Crylar
Crylar15mo ago
I guess this is a final goal to have orders and sub-table for products, so our staff would not need to click around a lot and have everything visible. The only question is how to achieve it without doing much of customisation.
wyChoong
wyChoong15mo ago
I think the best is to use relationshipmanager group