diff --git a/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx b/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx index d01c5db..916950c 100644 --- a/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx +++ b/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx @@ -32,6 +32,13 @@ const Input = ({ placeholder = '', type = 'text', value = '', onChange = () => { } else if (value || isFocused) { borderColor = 'border-[#92722A]'; } + + // Prevent wheel event from changing the number input value + const handleWheel = (e) => { + if (type === 'number') { + e.target.blur(); + } + }; return (