© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
i really can't play that

Table Select update action

Hi
I have a table and one of the columns is a select() with ServiceOrder status.

SelectColumn::make('service_order_status_id')
                    ->selectablePlaceholder(false)
                    ->options(\App\Models\ServiceOrderStatus::pluck('name', 'id'))
                    ->default(fn ($record) => $record->name)
                    ->label('Stav')
                    // ->disableOption([4, 5, 6])
                    ->disableOptionWhen(function ($value, $record) {
                        return in_array($record->service_order_status_id, [5, 6, 7]) || $value === 7;
                    }) 
SelectColumn::make('service_order_status_id')
                    ->selectablePlaceholder(false)
                    ->options(\App\Models\ServiceOrderStatus::pluck('name', 'id'))
                    ->default(fn ($record) => $record->name)
                    ->label('Stav')
                    // ->disableOption([4, 5, 6])
                    ->disableOptionWhen(function ($value, $record) {
                        return in_array($record->service_order_status_id, [5, 6, 7]) || $value === 7;
                    }) 


I would like to add confirmation modal to this, but method like "requiresConfirmation()" is available.

Any clue?
Thanks!
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

Table update after action
FilamentFFilament / ❓┊help
2y ago
Export Action - Update Table Rows
FilamentFFilament / ❓┊help
3y ago
Modal Table Select - Adding Actions
FilamentFFilament / ❓┊help
6mo ago
Table Action
FilamentFFilament / ❓┊help
3y ago