How to display infolist in a table column action with a relation record.
I want to display an infolist when a user clicks a column. I can easily do that using ViewAction. However, instead of the record iteself, I want to set the $record->customer as the infolist model.
Is there something similar to fillForm for infolists?
3 Replies
Solution
maybe
?
That worked! thank you!! 🥰
@Leandro Ferreira Is there a way to filter the relation query with a scope or modifying the query?
I have the following relationship: $record->customer->receipts I only want to fetch the current years receipts only and show via RepeatableEntry field
I have the following relationship: $record->customer->receipts I only want to fetch the current years receipts only and show via RepeatableEntry field