Filament render html code in label

use new HtmlString(‘State’)

 Tables\Columns\SelectColumn::make('state')
                ->label(new HtmlString('<span style="">State</span>'))
                ->extraHeaderAttributes([
                    'style' => 'padding-right:150px'
                ])

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *