F
Filament10mo ago
Anik

Radio components

Hello, Is there any way to pass html values to the radio descriptions?
1 Reply
carloscapote
carloscapote10mo 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'
]),