diff --git a/components/JumpToPage.tsx b/components/JumpToPage.tsx index cd55fc500201f82a8e796abc16a19829480f6585..6816d3054614423e0b9d7d02e52bc0ea553da897 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"