© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Евгений Кривых

Table SelectColumn with relation field

When we use SelectColumn::make('relationName.field')
we got Array to string conversion in case of no choice of field, because $getState() in vendor/filament/tables/resources/views/columns/select-column.blade.php returns the array of null element (not just null).
If we don't use relation - it works fine.
How to solve that problem?
The same thing happend with TextInputColumn
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Table: SelectColumn
FilamentFFilament / ❓┊help
3y ago
Table SelectColumn With Multiple
FilamentFFilament / ❓┊help
2y ago
SelectColumn with carbon
FilamentFFilament / ❓┊help
3y ago
Pivot-Table with Morph-Relation?
FilamentFFilament / ❓┊help
12mo ago