[WEB-5863] fix: estimate point input validation #8492

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Anmol Singh Bhatia
2026-02-17 00:12:33 +05:30
committed by GitHub
parent 4d1e6c499f
commit 55e89cb8fc
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ export function EstimateNumberInput(props: TEstimateNumberInputProps) {
className="border-none focus:ring-0 focus:border-0 focus:outline-none px-2 py-2 w-full bg-transparent text-13"
placeholder={t("project_settings.estimates.create.enter_estimate_point")}
autoFocus
type="number"
step="any"
/>
);
}

View File

@@ -27,7 +27,7 @@ export function EstimateInputRoot(props: TEstimateInputRootProps) {
case EEstimateSystem.POINTS:
return (
<EstimateNumberInput
value={value ? parseInt(value) : undefined}
value={value ? parseFloat(value) : undefined}
handleEstimateInputValue={handleEstimateInputValue}
/>
);