© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
66 replies
rg.block

->extraAttribute not working on TextInput

I have this TextInput on a form inside an app I just upgraded to v3.

TextInput::make('status')
                                            ->label('Status')
                                            ->extraAttributes(['class' => 'text-teal-600'])
                                            ->disabled(),
TextInput::make('status')
                                            ->label('Status')
                                            ->extraAttributes(['class' => 'text-teal-600'])
                                            ->disabled(),


That exact code used to work on v2, but on V3 the text color does not change. I also tried ->extraInputAttribute but no luck. Is there something odd that I need to look for? The TextInput is inside Grid\Section.
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

->maxLength() not working on textinput
FilamentFFilament / ❓┊help
2y ago
Autocomplete not working in textinput
FilamentFFilament / ❓┊help
2y ago
Textinput masking with alpine not working
FilamentFFilament / ❓┊help
3y ago
afterStateUpdated() not triggering on TextInput
FilamentFFilament / ❓┊help
3y ago
Next page