Method Filament\Forms\Components\CheckboxList::allowHtml does not exist.

It's literally on the docs https://filamentphp.com/docs/3.x/forms/fields/checkbox-list
use Filament\Forms\Components\CheckboxList;

CheckboxList::make('technology')
->options([
'tailwind' => '<span class="text-blue-500">Tailwind</span>',
'alpine' => '<span class="text-green-500">Alpine</span>',
'laravel' => '<span class="text-red-500">Laravel</span>',
'livewire' => '<span class="text-pink-500">Livewire</span>',
])
->searchable()
->allowHtml()
use Filament\Forms\Components\CheckboxList;

CheckboxList::make('technology')
->options([
'tailwind' => '<span class="text-blue-500">Tailwind</span>',
'alpine' => '<span class="text-green-500">Alpine</span>',
'laravel' => '<span class="text-red-500">Laravel</span>',
'livewire' => '<span class="text-pink-500">Livewire</span>',
])
->searchable()
->allowHtml()
Solution:
Ahhh, i did composer update and it worked.
Jump to solution
2 Replies
Kenneth Sese
Kenneth Sese6d ago
@vahnmarty are you on at least v3.2.124? This was added then.
Solution
vahnmarty
vahnmarty6d ago
Ahhh, i did composer update and it worked.

Did you find this page helpful?