Infolist and foreignid
Hi, I am quite new to laravel / filaments and am transfering one of my projects to Filament but I am struggling with foreign keys (I do think the answer might be quite straightforward)
I am trying to show data retrieved from a foreign key, I want to retrieve the serial_number vfrom "devices" via the constrain that exists with "tasks"
I can not quite find any documentation of this
This is my infolist
And this is my constrain as defined in tasks
Thanks in advance!
2 Replies
Solution
Try dot notation:
device.serial_number
That solved it, thank you