diff --git a/src/frontend/src/components/intComponent/index.tsx b/src/frontend/src/components/intComponent/index.tsx index f246516ec..56fec347e 100644 --- a/src/frontend/src/components/intComponent/index.tsx +++ b/src/frontend/src/components/intComponent/index.tsx @@ -36,6 +36,8 @@ export default function IntComponent({ event.key !== "c" && event.key !== "v" && event.key !== "a" && + event.key !== "ArrowUp" && + event.key !== "ArrowDown" && !/^[-]?\d*$/.test(event.key) ) { event.preventDefault();