From 74f7daab333bb1fb0b270ca0625641b4dbd09ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1?= Date: Sun, 17 Jan 2021 00:03:26 +0100 Subject: [PATCH] Update VisualPaginator.php --- src/VisualPaginator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VisualPaginator.php b/src/VisualPaginator.php index 28cc5d6..615a1a8 100644 --- a/src/VisualPaginator.php +++ b/src/VisualPaginator.php @@ -152,7 +152,7 @@ protected function createComponentItemsPerPage(): Form $form->onSuccess[] = function (Form $form, array $values): void { $this->setItemsPerPage($values['itemsPerPage']); - + foreach ($this->onPaginate as $event) { $event(); }