© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
4 replies
Eskie

Copyable Behavior Changed

I have this code
TextColumn::make('code')
                    ->copyable()
                    ->formatStateUsing(fn (string $state): string => Str::mask($state, '*', 10)),
TextColumn::make('code')
                    ->copyable()
                    ->formatStateUsing(fn (string $state): string => Str::mask($state, '*', 10)),


and it seems that in v3.. it copies the original value but in v4, it copies that masked value
Solution
->copyableState(fn (string $state): string => $state)
->copyableState(fn (string $state): string => $state)
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

Copyable Action
FilamentFFilament / ❓┊help
3y ago
Copyable Not working
FilamentFFilament / ❓┊help
6mo ago
Text column copyable()
FilamentFFilament / ❓┊help
2y ago
copyable() not working
FilamentFFilament / ❓┊help
3y ago