Override configureUsing ?

If I have a service provider with a boot method like:
public function boot() : void
{
CreateAction::configureUsing(function ($action) {
return $action->slideOver();
});
...
public function boot() : void
{
CreateAction::configureUsing(function ($action) {
return $action->slideOver();
});
...
How do I override a specific instance that I don't want as slide over ? I've tried ->slideover(false) & ->modal() without success. Thanks
Solution:
slideOver(false) should suffice on the actually action
Jump to solution
2 Replies
Solution
toeknee
toeknee3mo ago
slideOver(false) should suffice on the actually action
Matthew
MatthewOP3mo ago
🤦‍♂️ I'd moved out a createAction to a re-useable component, and left the original one in for testing, so the original one was overwriting the parameters! Thanks for replying though.

Did you find this page helpful?