Skip to content

Commit 08cd60e

Browse files
author
ewezy
committed
Update min and step size of autoscaling target field
1 parent cfd27a2 commit 08cd60e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/pages/version/components/forms/components/AutoscalingPolicyFormGroup.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ export const AutoscalingPolicyFormGroup = ({
128128
<EuiFormRow label="Target">
129129
<EuiFieldNumber
130130
onChange={onTargetValueChange}
131-
min={1}
131+
// The min value is set as 0.005 because it's the smallest value, when rounded to 2 decimal places, gives
132+
// 0.01, the smallest value accepted as an autoscaling target (concurrency).
133+
min={0.005}
134+
step={"any"}
132135
value={autoscalingPolicy.target_value}
133136
/>
134137
</EuiFormRow>

0 commit comments

Comments
 (0)