How to Refresh Form in RelationManager?

I have a relationManager and I need to refresh the form data after an action from the Footer Bar executes.
public function table(Table $table): Table
{
return $table
...
->actions([
Tables\Actions\EditAction::make()
->extraModalFooterActions([
\Filament\Tables\Actions\Action::make('do-this')
->label('Do This')
->action(function($record){
//1 Do something that updates $record
//2 Refresh form data

})
]),
Tables\Actions\DeleteAction::make(),
])
...
public function table(Table $table): Table
{
return $table
...
->actions([
Tables\Actions\EditAction::make()
->extraModalFooterActions([
\Filament\Tables\Actions\Action::make('do-this')
->label('Do This')
->action(function($record){
//1 Do something that updates $record
//2 Refresh form data

})
]),
Tables\Actions\DeleteAction::make(),
])
...
Any ideas how to refresh the form after clicking the action?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server