© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
7 replies
Xavi

Set Column with header action

How can i set a text column value by header action button? I try with $set, but it throws this error

Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization


Thanks
Solution
maybe
->action(function () {
    SendPostToCustomerAction::run($this->record);
    $this->refreshFormData(['status']);
})
->action(function () {
    SendPostToCustomerAction::run($this->record);
    $this->refreshFormData(['status']);
})

?
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

Table Column Header/Label Action issues with Sortable
FilamentFFilament / ❓┊help
9mo ago
Set column action on condition
FilamentFFilament / ❓┊help
3y ago
Testing Header Action
FilamentFFilament / ❓┊help
2y ago
Export action with Enum column
FilamentFFilament / ❓┊help
2y ago