Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
write name using id - Filament
F
Filament
•
2y ago
•
9 replies
gigiloouu
write name using id
in there i have company
_id and i want using that write company
_name how ican do it
?
TextColumn::make('purchase.company_id')
->searchable()
->sortable(),
TextColumn::make('purchase.company_id')
->searchable()
->sortable(),
Solution
Please don
't tag as per
#
┊rules
No that doesn
't make sense like
.
I think what you want is to use
:
purchase
.company
.name
assuming you have a relationship called company on the purchase model
. And name on the company model
.
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
ambiguous column name: id
F
Filament / ❓┊help
2y ago
Table Relationship 'name' not 'id'
F
Filament / ❓┊help
3y ago
How to get panel id name?
F
Filament / ❓┊help
2y ago
badge with link and show name instead id
F
Filament / ❓┊help
2y ago