© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Darpan

Toggle column issue.

Toggling one record changes other records.

Tables\Columns\ToggleColumn::make('published')
  ->label('Publish')
  ->onColor('success')
  ->alignCenter()
  ->tooltip(fn(News $record) => $record->published 
      ? 'Unpublish' : 'Publish'),
Tables\Columns\ToggleColumn::make('published')
  ->label('Publish')
  ->onColor('success')
  ->alignCenter()
  ->tooltip(fn(News $record) => $record->published 
      ? 'Unpublish' : 'Publish'),
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

Toggle-column
FilamentFFilament / ❓┊help
2y ago
Toggle Column Prevent Action
FilamentFFilament / ❓┊help
12mo ago
Toggle Column Dynamic Label
FilamentFFilament / ❓┊help
2y ago
halt table toggle column
FilamentFFilament / ❓┊help
3y ago