From 2a8409a7b12cbfe72ffc431fa57ee56fd71a8434 Mon Sep 17 00:00:00 2001 From: Devansh Bawari Date: Tue, 17 Dec 2024 12:02:16 +0530 Subject: [PATCH] fix: add proper validation rule --- packages/Webkul/Admin/src/Config/system.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Admin/src/Config/system.php b/packages/Webkul/Admin/src/Config/system.php index 6c1ac559b6..5d6415c8c5 100644 --- a/packages/Webkul/Admin/src/Config/system.php +++ b/packages/Webkul/Admin/src/Config/system.php @@ -1790,7 +1790,7 @@ 'name' => 'invoice_number_length', 'title' => 'admin::app.configuration.index.sales.invoice-settings.invoice-number.length', 'type' => 'text', - 'validation' => 'numeric', + 'validation' => 'numeric|min:0|max:10', 'channel_based' => true, 'locale_based' => true, ], [