Print MorpthTo relation in table widget
Hello everyone!
I have a problem to print a morphTo relation.
I have a Notes table with this structure:
ID | coverable_type | coverable_id | text | highlighted
1 | App\Models\Appointment | 1 | Hightlighted text | 1
1 | App\Models\Appointment | 1 | Text not highlighted | 0
I need to show in dashboard, with a table widget, only highlighted notes.
As you can see from the attachments, the model column is empty.
What am I doing wrong?
Thanks in advance
0 Replies