© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
D2RTECH

how to show the mobile number with country code

I want to combine values of two table columns and show them in the one column. how do i acheive that?
Solution
Build a virtual column if it's a list view?
TextColumn('full_number')->formatStateUsing(fn($record) => '+' . $record->area_code . $record->phone_number)
TextColumn('full_number')->formatStateUsing(fn($record) => '+' . $record->area_code . $record->phone_number)
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

login with mobile number and password.
FilamentFFilament / ❓┊help
3y ago
Show breadcrumbs on mobile
FilamentFFilament / ❓┊help
13mo ago
custom select componenet with phone code , and country emoji
FilamentFFilament / ❓┊help
2y ago
Show logo on mobile resolution
FilamentFFilament / ❓┊help
16mo ago