ActionGroup::make([
Action::make('process')
->action(function (Action $action) {
// ... run process function
// Is it possible to use the injected Action to close here, after processing
})
// Adding Extra Attributes will close the drop down immediately
->extraAttributes(['x-on:click' => 'close']),
])->button();
ActionGroup::make([
Action::make('process')
->action(function (Action $action) {
// ... run process function
// Is it possible to use the injected Action to close here, after processing
})
// Adding Extra Attributes will close the drop down immediately
->extraAttributes(['x-on:click' => 'close']),
])->button();