From ab373413514e91c95412e2d78ac77cea07b8e6da Mon Sep 17 00:00:00 2001
From: Lukas <lukas.budginas@gmail.com>
Date: Wed, 20 Nov 2024 14:31:22 +0200
Subject: [PATCH] Disable negative values on JumpToPage component

---
 components/JumpToPage.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/JumpToPage.tsx b/components/JumpToPage.tsx
index cd55fc50..6816d305 100644
--- a/components/JumpToPage.tsx
+++ b/components/JumpToPage.tsx
@@ -30,6 +30,7 @@ const JumpToPage = ({ currentPage, onPageChange }: any) => {
       <Input
         type="number"
         value={value}
+        min="1"
         onChange={onValueChange}
         className="w-0 min-w-[72px] p-1 pl-2 py-2 text-gray-900 border border-gray-300 rounded sm:text-xs bg-gray-50 focus:bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-theme dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 dark:focus:bg-gray-700"
         data-testid="input-goto-page"
-- 
GitLab