Modal with relationship table crud
Our old livewire edit order page had a row of items displaying on it. one of the columns was a count of associated rows from another table, which upon clicking would open a modal displaying those rows, can anyone tell me how this is possible? Currently I just display the row count as follows..
6 Replies
Pass that method an
Action
object with ->modalContent()
ah is that how you do it?
like that?
Yeah, like that. But you wouldn't combine action and modalContent
@Dennis Koch thank you so much for your help, I now have a modal with a custom view, is it possible though to use a table object using a default filament view?
You could add a Livewire component inside that model that uses the table builder.
ah nice, thank you once again!