From bd1dee7ece9909be4d207ee84802fd25b96dbe21 Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 1 Nov 2024 01:40:52 +0800 Subject: [PATCH] fix --- src/ResourceAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceAction.php b/src/ResourceAction.php index d0ced9b..ff035b4 100644 --- a/src/ResourceAction.php +++ b/src/ResourceAction.php @@ -144,7 +144,7 @@ protected function transformFields(): void /** * Remove confirmation fields from inputs. */ - protected function removeConfirmationFields(): void + public function removeConfirmationFields(): void { $this->inputs = array_filter($this->inputs, fn ($value, $key) => ! Str::contains($key, '_confirmation'), ARRAY_FILTER_USE_BOTH); }