FilamentF
Filament14mo ago
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


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

?
Was this page helpful?