F
Filament15mo ago
Anik

Radio components

Hello, Is there any way to pass html values to the radio descriptions?
1 Reply
carloscapote
carloscapote15mo ago
Try this:
\Filament\Forms\Components\Radio::make('status')
->options([
'draft' => new \Illuminate\Support\HtmlString('You can use <i>HTML</i> here'),
'scheduled' => 'Scheduled',
'published' => 'Published'
]),
\Filament\Forms\Components\Radio::make('status')
->options([
'draft' => new \Illuminate\Support\HtmlString('You can use <i>HTML</i> here'),
'scheduled' => 'Scheduled',
'published' => 'Published'
]),
Want results from more Discord servers?
Add your server