© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
renatoalvarez

html + limit in text column

Im trying to use html and limit words in a text column but it doesnot respect html format showing tags:

Tables\Columns\TextColumn::make('acciones')
                    ->html()
                    ->limit(10)
Tables\Columns\TextColumn::make('acciones')
                    ->html()
                    ->limit(10)


is there a way to use both?
Captura_de_pantalla_2023-07-16_a_las_11.53.49.png
Solution
They are both using
formatStateUsing()
formatStateUsing()
under the hood so they overwrite each other. Check the code of both methods and combine them
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

Limit text in viewColumn
FilamentFFilament / ❓┊help
3y ago
concatenate value in text column
FilamentFFilament / ❓┊help
3y ago
Text column copyable()
FilamentFFilament / ❓┊help
2y ago
Text area use in table column
FilamentFFilament / ❓┊help
2y ago