© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Pasindu

Execute an action after the default action

Hi guys, I have a
TextInputColumn
TextInputColumn
code like below, I want to execute a query
is_completed
is_completed
to
true
true
after executing the default query which is updating the
description
description
column. How can I do this? TIA!

TextInputColumn::make('description')
                ->rules(['min:10', 'max:255'])
                ->action(fn(FollowUp $record, string $value) => $record->update([
                    'is_completed' => true,
                ])),
TextInputColumn::make('description')
                ->rules(['min:10', 'max:255'])
                ->action(fn(FollowUp $record, string $value) => $record->update([
                    'is_completed' => true,
                ])),


I tried the above code but id didn't work.
Solution
see : https://filamentphp.com/docs/3.x/tables/columns/text-input#lifecycle-hooks
Text input column - Table Builder - Filament
Jump to solution
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

Execute an action on checkbox toggle
FilamentFFilament / ❓┊help
3y ago
Replace the default dropdown in BulkAction with an ActionButton
FilamentFFilament / ❓┊help
3y ago
Action does not execute
FilamentFFilament / ❓┊help
13mo ago
Fire an action after updating Select?
FilamentFFilament / ❓┊help
3y ago