F
Filament11mo ago
Patrick

after callback not fired for EditAction

After submitting the form, I expect to see a dump and die. But it's not being called.
$table ->actions([
Tables\Actions\EditAction::make()
->after(function(){
dd('after');
}),
Tables\Actions\DeleteAction::make(),
])
$table ->actions([
Tables\Actions\EditAction::make()
->after(function(){
dd('after');
}),
Tables\Actions\DeleteAction::make(),
])
It's a table in a relation manager Am i missing something?
1 Reply
Patrick
PatrickOP11mo ago
meh i was having v2 docs open oh nvm should work in v3 as well according to the docs nevermind, i'm a moron, was editing the wrong file
Want results from more Discord servers?
Add your server