lineClamp() method does not exist.

i'm trying to use this method for limiting column lines and the output is this error :

lineClamp() method does not exist.

this is how i write it :

Tables\Columns\TextColumn::make('name')->lineClamp(2)
Screenshot_2024-03-21_193706.png
Screenshot_2024-03-21_193905.png
Solution
update your filament version
Was this page helpful?