mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 04:00:14 +01:00
[WEB-5863] fix: estimate point input validation #8492
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4d1e6c499f
commit
55e89cb8fc
@@ -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"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user