© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•14mo ago•
7 replies
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',
                    ]),
  ToggleButtons::make('technologies')
                    ->default('tailwind')
                    ->multiple()
                    ->options([
                        'tailwind' => 'Tailwind CSS',
                        'alpine' => 'Alpine.js',
                        'laravel' => 'Laravel',
                        'livewire' => 'Laravel Livewire',
                    ]),
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

[Solved]ToggleButtons
FilamentFFilament / ❓┊help
3y ago
SelectFilter default not working
FilamentFFilament / ❓┊help
16mo ago
Radio default not working
FilamentFFilament / ❓┊help
3y ago
Select Default not working
FilamentFFilament / ❓┊help
3y ago