F
Filament12mo 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
Want results from more Discord servers?
Add your server