-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
This is a bug request.
Description
Steps to Reproduce
my barilgaTable.json
"buttons": [
"excel",
"create",
"edit",
"destroy",
{
"type": "global",
"icon": "trash",
"class": "is-danger",
"routeSuffix": "delete",
"event": "delete",
"postEvent": "delete-done",
"action": "ajax",
"method": "PATCH",
"label": "Устгах"
}
],
class BarilgaDeleteAction extends Action
{
public function process()
{
\Log::info($this->data());
}
}
class BarilgaTableController extends Controller
{
use Datatable, Excel, Action;
protected $tableClass = BarilgaTable::class;
protected $actionClass = BarilgaDeleteAction::class;
protected $chunk = 2;
}
Route::patch('delete', 'BarilgaTableController@action')
->name('delete');
composer updated
Expected behavior
log filtered id
Actual behavior
button does not appear
Metadata
Metadata
Assignees
Labels
No labels