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');
}),
<button wire:click="replaceMountedTableAction('handle_row', '12199')">
Button
</button> 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 () {
}),