© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
ralphredd

Multiple fields in one column

Hello, I'm looking for a way to combine 2 fields into a single column, I have a date and time in a separate DB columns but would like to show them as single table column, ie "date - time" kind of layout
Thank you!
Solution
I think you can use the state method on the input, like so:
Tables\Columns\TextColumn::make('date-time')
->getStateUsing(function (Model $record): string {
return $record->date . $record->time;
})
Jump to solution
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

Combining 2 fields in one table's column
FilamentFFilament / ❓┊help
3y ago
Multiple input fields for one label
FilamentFFilament / ❓┊help
3y ago
Multiple icons in column
FilamentFFilament / ❓┊help
2y ago
Import CSV multiple columns in one relationship
FilamentFFilament / ❓┊help
17mo ago