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
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1184451734374994022/image.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1184451734718914610/image.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1184451735041871903/image.png)
0 Replies