F
Filament13mo ago
Gaspar

how to add Tailwind classes using extraInputAttributes()

For example
Tables\Columns\TextInputColumn::make('example')
->extraInputAttributes(['class' => 'max-w-32'])
Tables\Columns\TextInputColumn::make('example')
->extraInputAttributes(['class' => 'max-w-32'])
This max-w-32 class is not added to css files.. What is the best approach to add Tailwind classes to Filament components?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?