FilamentF
Filament13mo ago
taz

ToggleButtons default not working

When I try to set a default to ToggleButtons form with multiple options, it does not select it.
  ToggleButtons::make('technologies')
                    ->default('tailwind')
                    ->multiple()
                    ->options([
                        'tailwind' => 'Tailwind CSS',
                        'alpine' => 'Alpine.js',
                        'laravel' => 'Laravel',
                        'livewire' => 'Laravel Livewire',
                    ]),
Was this page helpful?