F
Filament5mo ago
Wim

Placeholder color in TextColumn

I have the following: Tables\Columns\TextColumn::make('receiver.name') ->label('To') ->placeholder(auth()->user()->name), The default style is to grey out the placeholder. Is there a way to set the placeholder in another color? Or conditionally color it (e,.g I want it to be red if the value of receiver.name equals the auth()->user()->name() )
1 Reply
Dennis Koch
Dennis Koch5mo ago
Wrap it in a new HtmlString() and add a class
(e,.g I want it to be red if the value of receiver.name equals the auth()->user()->name() )
Doesn't make sense. There is no placeholder if the field has a value
Want results from more Discord servers?
Add your server