diff --git a/src/components/ui/Inputs/DurationRange/DurationInput.tsx b/src/components/ui/Inputs/DurationRange/DurationInput.tsx index 7fdeccbf5..c5f8232b2 100644 --- a/src/components/ui/Inputs/DurationRange/DurationInput.tsx +++ b/src/components/ui/Inputs/DurationRange/DurationInput.tsx @@ -45,7 +45,7 @@ const DurationInput = ({ value, label, deidentified = false, disabled = false, o }} size="small" onChange={(e) => { - if (!isNaN(+e.target.value) && +e.target.value <= 130) { + if (!isNaN(+e.target.value)) { setDuration({ ...duration, year: e.target.value !== '' ? Math.floor(Math.abs(+e.target.value)) : 0