How to add width to TextInputColumn in a table?

I have the following type of column: TextInputColumn::make('siren_number') How can I provide it more width so the content is visible?
No description
7 Replies
Matthew
Matthew3d ago
->limit(100) or whatever limit you want
gemini.dev
gemini.devOP3d ago
Get this error when adding a limit(100) to TextInputColumn: Method Filament\Tables\Columns\TextInputColumn::limit does not exist.
Matthew
Matthew3d ago
Ohhh, thats right.. 1m
gemini.dev
gemini.devOP2d ago
Any ideas anybody?
gemini.dev
gemini.devOP11h ago
Thank you @idk - This has worked for me: TextInputColumn::make('siren_number')->extraAttributes(['style' => 'width: 500px']),
idk
idk11h ago
Nice!

Did you find this page helpful?