Chain table row actions

I have a table with 1 row actions, the goal what i want to achieve is to open the by clicking on it action, after the submit i want to open the next row action automaticly (so without clicking on the next row action). Example of my action (see the replaceMountedTableAction) Action::make('handle_row')->form([ Grid::make(2)->schema([ TextInput::make('rma.id')->default(function ( RmaRow $row ) { return $row->id; })->disabled(), ]), ])->closeModalByClickingAway(false)->action(function () { $this->replaceMountedTableAction('handle_row', '12199'); }), In the submit function I have implemented the replaceMountedTableAction. But that part is not working, It is showing the backdrop, but the modal is not visible. So i tried to open a row programmaticly. That part is working well, so no issues there. <button wire:click="replaceMountedTableAction('handle_row', '12199')"> Button </button> Then I tried to chain an action with another name, that part also works: Action::make('handle_row')->form([ Grid::make(2)->schema([ TextInput::make('rma.id')->default(function ( RmaRow $row ) { return $row->id; })->disabled(), ]), ])->closeModalByClickingAway(false)->action(function () { $this->replaceMountedTableAction('test', '12199'); }), Action::make('test')->closeModalByClickingAway(false)->action(function () { }), So it seems like there is an issue with chaining the same action for another record. Is this a bug or not possible?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?