Skip to content
Snippets Groups Projects
Commit ab373413 authored by Lukas's avatar Lukas
Browse files

Disable negative values on JumpToPage component

parent b73dff19
No related branches found
No related tags found
2 merge requests!481bring recent develop changes to mater to match the backend,!474Lbudginas/#379 jump to page negative value bug
Pipeline #109290 failed
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment