Showing pivot data in infolist
i'm trying to show some data from a pivot table in my infolist.
The infolist is like this:
The 'exercise_name' is showing, but that is from the parent table. but the rest is in the pivot table. i've tried to add the name of the pivot table, but that didn't work either. (like 'nameOfPivotTable.repetitions')
Solution:Jump to solution
for the moment i solved it doing this:
```php
return $infolist
->schema([
TextEntry::make('program_name'),...
4 Replies
Bump
Solution
for the moment i solved it doing this:
If someone has a better way, let me know 🙂
The easiest way is to do this