diff --git a/web/core/components/estimates/points/create.tsx b/web/core/components/estimates/points/create.tsx index e9a7e35dc..4a0967aa0 100644 --- a/web/core/components/estimates/points/create.tsx +++ b/web/core/components/estimates/points/create.tsx @@ -86,7 +86,7 @@ export const EstimatePointCreate: FC = observer((props) => isEstimateValid = true; } } else if (currentEstimateType && currentEstimateType === EEstimateSystem.CATEGORIES) { - if (estimateInputValue && estimateInputValue.length > 0 && Number(estimateInputValue) < 0) { + if (estimateInputValue && estimateInputValue.length > 0 && isNaN(Number(estimateInputValue))) { isEstimateValid = true; } } diff --git a/web/core/components/estimates/points/update.tsx b/web/core/components/estimates/points/update.tsx index e20cbcfb1..4194f4b2d 100644 --- a/web/core/components/estimates/points/update.tsx +++ b/web/core/components/estimates/points/update.tsx @@ -91,7 +91,7 @@ export const EstimatePointUpdate: FC = observer((props) => isEstimateValid = true; } } else if (currentEstimateType && currentEstimateType === EEstimateSystem.CATEGORIES) { - if (estimateInputValue && estimateInputValue.length > 0) { + if (estimateInputValue && estimateInputValue.length > 0 && isNaN(Number(estimateInputValue))) { isEstimateValid = true; } }